Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 118097 Details for
Bug 171075
<net-mail/mpack-1.6-r2: Information disclosure (CVE-2011-4919)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for mpack-1.6
mpack-1.6.patch (text/plain), 1.63 KB, created by
Jonas Pedersen
on 2007-05-03 22:54:28 UTC
(
hide
)
Description:
Patch for mpack-1.6
Filename:
MIME Type:
Creator:
Jonas Pedersen
Created:
2007-05-03 22:54:28 UTC
Size:
1.63 KB
patch
obsolete
>diff -Naur mpack-1.6-orig/unixos.c mpack-1.6/unixos.c >--- mpack-1.6-orig/unixos.c 2003-07-21 22:54:05.000000000 +0200 >+++ mpack-1.6/unixos.c 2007-05-04 00:34:46.000000000 +0200 >@@ -39,7 +39,7 @@ > #endif > > extern int errno; >-extern char *malloc(); >+extern void *malloc(); > extern char *getenv(); > > int overwrite_files = 0; >@@ -90,7 +90,7 @@ > strcpy(buf, getenv("TMPDIR")); > } > else { >- strcpy(buf, "/usr/tmp"); >+ strcpy(buf, "/var/tmp"); > } > strcat(buf, "/m-prts-"); > p = getenv("USER"); >diff -Naur mpack-1.6-orig/unixpk.man mpack-1.6/unixpk.man >--- mpack-1.6-orig/unixpk.man 1995-02-16 22:39:50.000000000 +0100 >+++ mpack-1.6/unixpk.man 2007-05-04 00:34:46.000000000 +0200 >@@ -136,7 +136,7 @@ > .SH ENVIRONMENT > .TP > .B TMPDIR >-Directory to store temporary files. Default is /usr/tmp. >+Directory to store temporary files. Default is /var/tmp. > .TP > .B SPLITSIZE > Default value of the -m switch. >diff -Naur mpack-1.6-orig/unixunpk.man mpack-1.6/unixunpk.man >--- mpack-1.6-orig/unixunpk.man 1995-02-16 22:39:50.000000000 +0100 >+++ mpack-1.6/unixunpk.man 2007-05-04 00:34:46.000000000 +0200 >@@ -107,7 +107,7 @@ > .SH ENVIRONMENT > .TP > .B TMPDIR >-Directory to store temporary files. Default is /usr/tmp. >+Directory to store temporary files. Default is /var/tmp. > .SH FILES > .TP > .B $TMPDIR/m-prts-$USER/ >diff -Naur mpack-1.6-orig/xmalloc.c mpack-1.6/xmalloc.c >--- mpack-1.6-orig/xmalloc.c 2003-07-21 22:35:31.000000000 +0200 >+++ mpack-1.6/xmalloc.c 2007-05-04 00:34:46.000000000 +0200 >@@ -24,7 +24,7 @@ > */ > #include <stdio.h> > #include <string.h> >-extern char *malloc(), *realloc(); >+extern void *malloc(), *realloc(); > > char *xmalloc (int size) > {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 171075
: 118097 |
122567
|
122568