[Python-Dev] strncpy

Barry A. Warsaw bwarsaw@beopen.com
Thu, 13 Jul 2000 03:11:07 -0400 (EDT)


>>>>> "PP" == Paul Prescod <paul@prescod.net> writes:

    PP> Add an implementation of snprintf to our code and fix the
    PP> other hundred or so sprintf occurrences to use it. Most of
    PP> them are safe but it couldn't hurt to pass cleanly through
    PP> those heuristic security checkers

    PP> Here's one:

    PP> http://www.ijs.si/software/snprintf/

    PP> And there is one in Apache.

And one in Mailman, ripped from GNU screen.  Because it's GPL'd it's
not appropriate for Python, but could serve as another source of
inspiration.  So far, of the platforms people try to run Mailman on,
I've only found it necessary for Solaris 2.5.

-Barry