httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@decus.org (Rodent of Unusual Size)
Subject [BUG] rprintf SEGVs if given NULL for %S
Date Fri, 14 Feb 1997 18:20:47 GMT
    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    :-)}

Mime
View raw message