]> granicus.if.org Git - python/commit
- Issue #13703: oCERT-2011-003: add -R command-line option and PYTHONHASHSEED
authorBarry Warsaw <barry@python.org>
Tue, 21 Feb 2012 01:42:21 +0000 (20:42 -0500)
committerBarry Warsaw <barry@python.org>
Tue, 21 Feb 2012 01:42:21 +0000 (20:42 -0500)
commit1e13eb084f72d5993cbb726e45b36bdb69c83a24
tree1db691c15c5980a870bcc2606a6d2afc77e28bad
parentf5a5beb33985b4b55480de267084b90d89a5c5c4
- Issue #13703: oCERT-2011-003: add -R command-line option and PYTHONHASHSEED
  environment variable, to provide an opt-in way to protect against denial of
  service attacks due to hash collisions within the dict and set types.  Patch
  by David Malcolm, based on work by Victor Stinner.
27 files changed:
Doc/library/sys.rst
Doc/reference/datamodel.rst
Doc/using/cmdline.rst
Include/object.h
Include/pydebug.h
Include/pythonrun.h
Lib/os.py
Lib/test/test_cmd_line.py
Lib/test/test_hash.py
Lib/test/test_os.py
Lib/test/test_set.py
Lib/test/test_support.py
Lib/test/test_symtable.py
Lib/test/test_sys.py
Makefile.pre.in
Misc/NEWS
Misc/python.man
Modules/main.c
Modules/posixmodule.c
Objects/bufferobject.c
Objects/object.c
Objects/stringobject.c
Objects/unicodeobject.c
PCbuild/pythoncore.vcproj
Python/pythonrun.c
Python/random.c [new file with mode: 0644]
Python/sysmodule.c