[issue46280] About vulnerabilities in Cpython native code

Raymond Hettinger report at bugs.python.org
Thu Jan 6 16:06:47 EST 2022


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

#606 is similar to #584 and #585.  The "dead store" is used only in an assertion:

            have_dict = 1;    <== Presumed dead store
        }
        assert(have_dict);    <== Used in an assert

In the case, it would be reasonable to add an #ifdef.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46280>
_______________________________________


More information about the Python-bugs-list mailing list