]> granicus.if.org Git - python/commit
PyOS_getsig(), PyOS_setsig(): The minimal amount of work to avoid the
authorBarry Warsaw <barry@python.org>
Tue, 13 Nov 2001 23:08:26 +0000 (23:08 +0000)
committerBarry Warsaw <barry@python.org>
Tue, 13 Nov 2001 23:08:26 +0000 (23:08 +0000)
commitafeb2a4d8914848d8761472c93b3e9cbff57b275
treea39e06ec299d40bebe060d94a7d680544add155b
parent79b5b5b7fb914e49965f0b5369070826ecc4605a
PyOS_getsig(), PyOS_setsig(): The minimal amount of work to avoid the
uninitialized memory reads reported in bug #478001.

Note that this doesn't address the following larger issues:

- Error conditions are not documented for PyOS_*sig() in the C API.

- Nothing that actually calls PyOS_*sig() in the core interpreter and
  extension modules actually /checks/ the return value of the call.

Fixing those is left as an exercise for a later day.
Python/pythonrun.c