]> granicus.if.org Git - python/commit
Fix apparently trivial buffer overflow (SF bug 1060396).
authorJeremy Hylton <jeremy@alum.mit.edu>
Sun, 7 Nov 2004 14:24:25 +0000 (14:24 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Sun, 7 Nov 2004 14:24:25 +0000 (14:24 +0000)
commit80961f3ca90ab48470fad8bb2310f19896ec9b7b
tree354b6b4ffd9fe6c2cf721e5d517911f405aab5c4
parentf8e74b12b00401b9cd6322fc339a1b9111e944df
Fix apparently trivial buffer overflow (SF bug 1060396).

memset() wrote one past the end of the buffer, which was likely to be unused padding or a yet-to-be-initialized local variable.  This routine is already tested by test_socket.
Modules/socketmodule.c