commit | 4c7fdfc35bb7c3123260bca00fe13bd0a1899faf | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Thu Jun 01 18:37:36 2000 +0000 |
committer | Fred Drake <fdrake@acm.org> | Thu Jun 01 18:37:36 2000 +0000 |
tree | 8cf9804bc03cc846ee611ac69ad0224d03255a4a | |
parent | 8eded195aafd589b54b51412fd1ca61f6e932bbe [diff] |
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.