summaryrefslogtreecommitdiffstats
path: root/PCbuild
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-10-02 10:21:59 (GMT)
committerGuido van Rossum <guido@python.org>2000-10-02 10:21:59 (GMT)
commite3c3b27d33eb0b092378c0a6a4f13cb0515ac3b4 (patch)
treeac38c264253f3072e4e0ddccfa8eb446e8599f41 /PCbuild
parentf6791f3d12c7792fa482aae88ccdf5d742b9a530 (diff)
downloadcpython-e3c3b27d33eb0b092378c0a6a4f13cb0515ac3b4.zip
cpython-e3c3b27d33eb0b092378c0a6a4f13cb0515ac3b4.tar.gz
cpython-e3c3b27d33eb0b092378c0a6a4f13cb0515ac3b4.tar.bz2
Fix a bug in stack overflow error handling. This fixes half of Bug
#115555. The error from s_push() on stack overflow was -1, which was passed through unchanged by push(), but not tested for by push()'s caller -- which only expected positive error codes. Fixed by changing s_push() to return E_NOMEM on stack overflow. (Not quite the proper error code either, but I can't be bothered adding a new E_STACKOVERFLOW error code in all the right places.)
Diffstat (limited to 'PCbuild')
0 files changed, 0 insertions, 0 deletions