]> granicus.if.org Git - python/commit
Trent Mick <trentm@ActiveState.com>:
authorFred Drake <fdrake@acm.org>
Thu, 1 Jun 2000 18:37:36 +0000 (18:37 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 1 Jun 2000 18:37:36 +0000 (18:37 +0000)
commit4c7fdfc35bb7c3123260bca00fe13bd0a1899faf
tree8cf9804bc03cc846ee611ac69ad0224d03255a4a
parent8eded195aafd589b54b51412fd1ca61f6e932bbe
Trent Mick <trentm@ActiveState.com>:
This patch correct bounds checking in PyLong_FromLongLong. Currently, it does
not check properly for negative values when checking to see if the incoming
value fits in a long or unsigned long. This results in possible silent
truncation of the value for very large negative values.
Objects/longobject.c