[quagga-dev 5267] Re: mes_lookup / LOOKUP robustness
hasso at estpak.ee
Tue Feb 26 13:05:25 GMT 2008
Denis Ovsienko wrote:
> > + const char *str = "(nil)";
> > +
> I recall printf substituting NULL with "(nil)", at least in Linux.
> Other implementations may tolerate NULL args differently though.
No. The behaviour is undefined and different compiler/libc versions
behave differently (output "(null)" or segfault) even in Linux.
More information about the Quagga-dev