undelfs warnings fix

Andrew V. Samoilov andrew at email.zp.ua
Mon Nov 17 15:51:28 UTC 2003


> On Fri, 14 Nov 2003, Andrew V. Samoilov wrote:
> 
> > Previous patch implementation breaks mcfs compilation, and as I understood
> > recently current implementation of com_err() is wrong and have format string
> > vulnerability.
> >
> > New implementation fixes com_err() and does not define free, sorry about
> > glib and libc memory allocation function mix, but we have it for glib 1.2x.
> > already.
> 
> Applied.  Thank you!  The mix is unavoidable, but glib 1.2.x always uses
> libc memory allocation.
 
Thanks! I hope this is last iteration for com_err() - va_list 
must be first local variable in function, now call to com_err() hangs mc.
Sorry for lack of testing.

-- 
Regards,
Andrew V. Samoilov.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: undelfs.c.patch
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20031117/70b762c7/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ChangeLog.patch
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20031117/70b762c7/attachment-0001.ksh>


More information about the mc-devel mailing list