summaryrefslogtreecommitdiff
path: root/shared-module
diff options
context:
space:
mode:
authorMatt Wozniski <godlygeek+git@gmail.com>2019-05-08 23:50:35 -0400
committerMatt Wozniski <godlygeek+git@gmail.com>2019-05-09 03:22:25 -0400
commit095c844004bcd8680a4bf68901adbd9cac6a4302 (patch)
tree925d3c5941b025ef2642c6a74c7de28fb2c648e5 /shared-module
parente041df73bb7bf424bcf571f25e3459359c4f36ed (diff)
Add overflow checks for int to bytes conversions
For both small and long integers, raise an exception if calling struct.pack, adding an element to an array.array, or formatting an int with int.to_bytes would overflow the requested size.
Diffstat (limited to 'shared-module')
0 files changed, 0 insertions, 0 deletions