Re: libfcgi bug in FCGX_VFPrintF

Janis Volbergs <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
kmeaw wrote:

>==12591== Invalid read of size 1
>==12591==    at 0x403A3C4: FCGX_VFPrintF (in /usr/lib/libfcgi.so.0.0.0)
>==12591==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
>
>libfcgi does not work as glibc does -- try running printf("%s", NULL);
>glibc prints "(null)", libfcgi crashes.
>
>--
>kmeaw
>___________________________________
>fastcgi-developers mailing list
>http://fastcgi.com/fastcgi-developers/
>  
>
that's true. sometimes.

quick work-around:
printf("%s", var?var:"");




___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.