]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix buffer overflow vulnerabilities in calculate_path(). Code used
authorJeremy Hylton <jeremy@alum.mit.edu>
Wed, 27 Sep 2000 20:51:17 +0000 (20:51 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Wed, 27 Sep 2000 20:51:17 +0000 (20:51 +0000)
commit6372fe1e40385d5d37bb938688e7bd5ecd2517be
tree88a174bcfd91006ee36a143c7efcecdc7268d086
parent23542dc6ebef000538823df34f9c741070a5aa68
Fix buffer overflow vulnerabilities in calculate_path().  Code used
copied strings from environment variables and argv[0] into
fixed-length buffers without checking their length.

Reported by Stan Bubrouski; advice on fix from John Viega.
Modules/getpath.c