[issue13415] del os.environ

STINNER Victor report at bugs.python.org
Wed Nov 23 10:42:19 CET 2011


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

> Note that ignoring unsetenv() return value is a bad idea:
> http://xorl.wordpress.com/category/freebsd/page/2/

Oh yeah, I remember this critical (local) vulnerability!

> We could maybe add a configure-time check.

Yes, it sounds like the best solution.

----------
title: del os.environ[key] ignores errors -> del os.environ

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13415>
_______________________________________


More information about the Python-bugs-list mailing list