[uClibc] libsafe does not build against uClibc

Erik Andersen andersen at codepoet.org
Tue Oct 5 09:45:27 UTC 2004


On Tue Oct 05, 2004 at 10:45:24AM +0200, Peter S. Mazinger wrote:
> Hello!
> 
> Trying to build libsafe it misses _IO_vfscanf? Has someone managed to 
> build it against uClibc?
> Would it be correct to replace _IO_vfscanf w/ vfscanf?

_IO_vfscanf is a glibc internal function.  _IO_vfscanf and
vfscanf implement the same function but have different function
prototypes:

    int _IO_vfscanf (_IO_FILE *s, const char *format, _IO_va_list argptr, int *errp)
    int vfscanf (FILE *s, const char *format, va_list argptr)

Whatever libsafe is doing (presumably replaceing vfscanf to check
for buffer overflows), it is clearly being extra friendly with
glibc,

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list