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 christian.heimes
Recipients christian.heimes, doko, eric.smith, mark.dickinson, serhiy.storchaka
Date 2015-04-18.22:52:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1429397533.86.0.186055088306.issue23999@psf.upfronthosting.co.za>
In-reply-to
Content
Coverity has found undefined behavior in dtoa.c:d2b(). lo0bits() can return 32 which z >>= 32, where z is an uint32. I've talked to doku at PyCon. He suggested to update dtoa.c to a more recent version. Our copy is based on a version from 2001. There are more modern versions available, e.g. https://searchcode.com/codesearch/view/52748288/ from 2006.

CID 1202735 (#1 of 1): Bad bit shift operation (BAD_SHIFT)
large_shift: In expression z >>= k, right shifting by more than 31 bits has undefined behavior. The shift amount, k, is 32.
History
Date User Action Args
2015-04-18 22:52:13christian.heimessetrecipients: + christian.heimes, doko, mark.dickinson, eric.smith, serhiy.storchaka
2015-04-18 22:52:13christian.heimessetmessageid: <1429397533.86.0.186055088306.issue23999@psf.upfronthosting.co.za>
2015-04-18 22:52:13christian.heimeslinkissue23999 messages
2015-04-18 22:52:13christian.heimescreate