Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 92369 Details for
Bug 141235
net-misc/efax-0.9a Segmentation Fault
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Easy patch that fixes segfault
efaxmsg.va_start_stack_clobber.patch (text/plain), 1.15 KB, created by
Keef Aragon
on 2006-07-20 21:32:51 UTC
(
hide
)
Description:
Easy patch that fixes segfault
Filename:
MIME Type:
Creator:
Keef Aragon
Created:
2006-07-20 21:32:51 UTC
Size:
1.15 KB
patch
obsolete
>*** efaxmsg.c Fri Mar 19 21:38:20 1999 >--- ../efaxmsg.c Thu Jul 20 22:24:28 2006 >*************** int msg ( char *fmt, ... ) >*** 99,105 **** > char *p ; > > va_list ap ; >- va_start ( ap, fmt ) ; > > if ( ! init ) { > logfile[0] = stderr ; >--- 99,104 ---- >*************** int msg ( char *fmt, ... ) >*** 141,158 **** > " ", > logfile[i] ) ; > } > vfprintf( logfile[i], p, ap ) ; > if ( flags & S ) fprintf ( logfile[i], " %s", strerror ( errno ) ) ; > if ( ! ( flags & NOLF ) ) fputs ( "\n", logfile[i] ) ; > atcol1[i] = flags & NOLF ? 0 : 1 ; > if ( ! ( flags & NOFLSH ) ) fflush ( logfile[i] ) ; >- > } > > } > >- va_end ( ap ) ; >- > return err ; > } > >--- 140,156 ---- > " ", > logfile[i] ) ; > } >+ va_start ( ap, fmt ) ; > vfprintf( logfile[i], p, ap ) ; >+ va_end ( ap ) ; > if ( flags & S ) fprintf ( logfile[i], " %s", strerror ( errno ) ) ; > if ( ! ( flags & NOLF ) ) fputs ( "\n", logfile[i] ) ; > atcol1[i] = flags & NOLF ? 0 : 1 ; > if ( ! ( flags & NOFLSH ) ) fflush ( logfile[i] ) ; > } > > } > > return err ; > } >
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 141235
: 92369