Berker Peksag
|
d751040b1a
|
Issue #26171: Prevent buffer overflow in get_data
Backport of 01ddd608b85c.
|
2016-09-14 08:37:28 +03:00 |
|
Benjamin Peterson
|
1f0e7c9933
|
rearrange methodcaller_new so that the main error case does not cause uninitialized memory usage (closes #27783)
|
2016-08-16 23:35:35 -07:00 |
|
Benjamin Peterson
|
3a27b0857e
|
do not decref value borrowed from list (closes #27774)
|
2016-08-15 22:01:41 -07:00 |
|
Benjamin Peterson
|
4f976513ef
|
fix possible integer overflow in binascii.b2a_qp (closes #27760)
Reported by Thomas E. Hybel
|
2016-08-13 18:33:33 -07:00 |
|
Benjamin Peterson
|
6e01d90cc8
|
check for overflow in join_append_data (closes #27758)
Reported by Thomas E. Hybel
|
2016-08-13 17:17:06 -07:00 |
|
Vinay Sajip
|
6f25003291
|
Issue #20160: Handled passing of large structs to callbacks correctly.
|
2016-08-05 21:24:27 +01:00 |
|
Benjamin Peterson
|
0e617e22f0
|
remove some copyright notices supserseded by the toplevel ones
|
2016-01-01 11:53:47 -06:00 |
|
Kristján Valur Jónsson
|
102764a1f6
|
Issue #25021: Correctly make sure that product.__setstate__ does not access
invalid memory.
|
2015-09-12 15:20:54 +00:00 |
|
Benjamin Peterson
|
59b08c18a8
|
use safe allocation and reallocation macros
|
2015-06-27 13:41:33 -05:00 |
|
Benjamin Peterson
|
501182a47b
|
just sort the items tuple directly (closes #24094)
|
2015-05-02 22:28:04 -04:00 |
|
Benjamin Peterson
|
b779bfba45
|
fix possible overflow bugs in unicodedata (closes #23367)
|
2015-03-02 11:17:05 -05:00 |
|
Benjamin Peterson
|
8ce6806498
|
add overflow checking (closes #23361)
|
2015-02-09 20:58:12 -05:00 |
|
Serhiy Storchaka
|
dee948b359
|
Issues #23363, #23364, #23365, #23366: Fixed itertools overflow tests.
Used PyMem_New to check overflow.
|
2015-02-03 01:34:09 +02:00 |
|
Benjamin Peterson
|
0eaabf1c05
|
check for overflows in permutations() and product() (closes #23363, closes #23364)
|
2015-02-01 21:34:07 -05:00 |
|
Benjamin Peterson
|
6f082297b2
|
check for overflow in combinations_with_replacement (closes #23365)
|
2015-02-01 21:10:47 -05:00 |
|
Benjamin Peterson
|
4b40eeb339
|
detect overflow in combinations (closes #23366)
|
2015-02-01 20:59:00 -05:00 |
|
Benjamin Peterson
|
e3bfe19358
|
fix possible overflow in encode_basestring_ascii (closes #23369)
|
2015-02-01 17:53:53 -05:00 |
|
Benjamin Peterson
|
bbd0a323ae
|
clear BufferedRWPair weakrefs on deallocation (closes #22517)
|
2014-09-29 22:46:57 -04:00 |
|
Benjamin Peterson
|
9beee049b0
|
merge 3.2
|
2014-04-14 11:46:51 -04:00 |
|
Benjamin Peterson
|
6ef2b36afa
|
disallow a negative idx parameter
|
2014-04-14 11:45:21 -04:00 |
|
Benjamin Peterson
|
156285c35f
|
merge 3.2
|
2014-04-13 22:28:16 -04:00 |
|
Benjamin Peterson
|
99b5afab74
|
in scan_once, prevent the reading of arbitrary memory when passed a negative index
Bug reported by Guido Vranken.
|
2014-04-13 22:10:38 -04:00 |
|
Benjamin Peterson
|
fda33559dc
|
fix ctypes test alignment assumptions (closes #20946)
Patch by Andreas Schwab.
|
2014-03-16 10:07:26 +01:00 |
|
Benjamin Peterson
|
c77e7a4f23
|
only define zero constant when it is used
|
2014-03-15 11:50:00 -05:00 |
|
Benjamin Peterson
|
ce68c19ee7
|
remove unused zero constants
|
2014-03-15 11:49:49 -05:00 |
|