]> granicus.if.org Git - python/commit
It turns out that modifying the environment strings is not safe.
authorGuido van Rossum <guido@python.org>
Tue, 3 Aug 1999 19:41:10 +0000 (19:41 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 3 Aug 1999 19:41:10 +0000 (19:41 +0000)
commit6a619f44c567efe859b4b94a710b718d475a57fe
tree0c42776db89af408bdc247b6a52583e99a72252b
parent46ab6dfa89e2d5eeed8f85b40c022161e2493800
It turns out that modifying the environment strings is not safe.
Treat them as read-only, and make a copy as appropriately.  This was
first reported by Bill Janssend and later by Craig Rowland and Ron
Sedlmeyer.  This fix is mine.
Modules/posixmodule.c