/[linux-patches]/genpatches-2.6/trunk/2.6.12-pre/1003_linux-2.6.11.4.patch
Gentoo

Contents of /genpatches-2.6/trunk/2.6.12-pre/1003_linux-2.6.11.4.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4 - (show annotations) (download) (as text)
Sat Jun 11 23:20:41 2005 UTC (15 years, 5 months ago) by dsd
File MIME type: text/x-diff
File size: 1026 byte(s)
Create 2.6.12 branch
1 diff -Nru a/Makefile b/Makefile
2 --- a/Makefile 2005-03-15 16:09:59 -08:00
3 +++ b/Makefile 2005-03-15 16:09:59 -08:00
4 @@ -1,7 +1,7 @@
5 VERSION = 2
6 PATCHLEVEL = 6
7 SUBLEVEL = 11
8 -EXTRAVERSION = .3
9 +EXTRAVERSION = .4
10 NAME=Woozy Numbat
11
12 # *DOCUMENTATION*
13 diff -Nru a/drivers/net/ppp_async.c b/drivers/net/ppp_async.c
14 --- a/drivers/net/ppp_async.c 2005-03-15 16:09:59 -08:00
15 +++ b/drivers/net/ppp_async.c 2005-03-15 16:09:59 -08:00
16 @@ -1000,7 +1000,7 @@
17 data += 4;
18 dlen -= 4;
19 /* data[0] is code, data[1] is length */
20 - while (dlen >= 2 && dlen >= data[1]) {
21 + while (dlen >= 2 && dlen >= data[1] && data[1] >= 2) {
22 switch (data[0]) {
23 case LCP_MRU:
24 val = (data[2] << 8) + data[3];
25 diff -Nru a/fs/exec.c b/fs/exec.c
26 --- a/fs/exec.c 2005-03-15 16:09:59 -08:00
27 +++ b/fs/exec.c 2005-03-15 16:09:59 -08:00
28 @@ -814,7 +814,7 @@
29 {
30 /* buf must be at least sizeof(tsk->comm) in size */
31 task_lock(tsk);
32 - memcpy(buf, tsk->comm, sizeof(tsk->comm));
33 + strncpy(buf, tsk->comm, sizeof(tsk->comm));
34 task_unlock(tsk);
35 }
36

  ViewVC Help
Powered by ViewVC 1.1.20