diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-09-22 14:24:39 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-09-23 18:21:15 +0200 |
commit | afbdc96638a769d9bee8579d8b70f54537f5e891 (patch) | |
tree | 05506971e775dcd3e2bce2ef2c9d05aee18b17fc /tests/libtest/lib1515.c | |
parent | b6a90bca335b08971371fbceeae694d970aebcb6 (diff) |
file_range: avoid integer overflow when figuring out byte range
When trying to bump the value with one and the value is already at max,
it causes an integer overflow.
Closes #1908
Detected by oss-fuzz:
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3465
Assisted-by: Max Dymond
Diffstat (limited to 'tests/libtest/lib1515.c')
0 files changed, 0 insertions, 0 deletions