You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rodent of Unusual Size <co...@decus.org> on 1997/02/14 19:20:47 UTC
[BUG] rprintf SEGVs if given NULL for %S
In tracking down a SEGV I was getting, I found that vbprintf() isn't
being paranoid about bad %s arguments. The following will SEGV
rather than sending "(null)":
rprintf (r, "%s", NULL)
Is this worth adding the necessary paranoia code, or is this a case
of "don't do that"? I'm inclined to think the former, but there it
is..
#ken :-)}