diff options
author | jilles <jilles@FreeBSD.org> | 2014-06-09 10:39:55 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2014-06-09 10:39:55 +0000 |
commit | f663e7e8d0d0f5e52e8ad7df469033c3e45da1ee (patch) | |
tree | 657c835cc3314a568ebdf494eb74fef4617343b3 /lib/libstand/bootp.c | |
parent | b5eae21087befdcb7f485a138a1a1973cde2d269 (diff) | |
download | FreeBSD-src-f663e7e8d0d0f5e52e8ad7df469033c3e45da1ee.zip FreeBSD-src-f663e7e8d0d0f5e52e8ad7df469033c3e45da1ee.tar.gz |
truncate: Detect integer overflow, fix relative sizes, add tests.
The change to expand_number (r204654) broke detection of too large sizes and
relative sizes ('+'/'-').
Also add some tests.
PR: 190735
Submitted by: Kirk Russell
MFC after: 1 week
Diffstat (limited to 'lib/libstand/bootp.c')
0 files changed, 0 insertions, 0 deletions