[Python-bugs-list] [ python-Bugs-487703 ] Replace strcat, strcpy
noreply@sourceforge.net
noreply@sourceforge.net
Mon, 03 Dec 2001 02:47:51 -0800
Bugs item #487703, was opened at 2001-11-30 14:39
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=487703&group_id=5470
Category: Python Interpreter Core
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Tim Peters (tim_one)
Assigned to: Nobody/Anonymous (nobody)
Summary: Replace strcat, strcpy
Initial Comment:
Alex Martelli sent this URL for a paper describing the
safer strlcat and strlcpy functions:
>http://www.usenix.org/events/usenix99/full_papers/mill
ert/millert_html/>
----------------------------------------------------------------------
>Comment By: M.-A. Lemburg (lemburg)
Date: 2001-12-03 02:47
Message:
Logged In: YES
user_id=38388
Time for PyOS_strlcat() and PyOS_strlcpy() ? Looking at the web-site it seems that we could simply copy the
code into the Python distro. I'd then suggest to bundle all the string helpers into a new file: e.g. mystrapis.c.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=487703&group_id=5470