This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author izbyshev
Recipients berker.peksag, izbyshev, pitrou, serhiy.storchaka
Date 2018-08-23.14:04:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1535033054.32.0.56676864532.issue34474@psf.upfronthosting.co.za>
In-reply-to
Content
The return value of PyFloat_FromDouble() at https://github.com/python/cpython/blob/48ce4897f8f8d91d948ecd1241ffab002df2be9e/Python/bltinmodule.c#L2403 is not checked for NULL and then dereferenced.

Reported by Svace static analyzer.

A similar issue in an 'if' statement above was fixed in #18560. Note that 2.7 is affected by both issues, so I can fix both if needed.
History
Date User Action Args
2018-08-23 14:04:14izbyshevsetrecipients: + izbyshev, pitrou, berker.peksag, serhiy.storchaka
2018-08-23 14:04:14izbyshevsetmessageid: <1535033054.32.0.56676864532.issue34474@psf.upfronthosting.co.za>
2018-08-23 14:04:14izbyshevlinkissue34474 messages
2018-08-23 14:04:14izbyshevcreate