diff options
author | delphij <delphij@FreeBSD.org> | 2014-09-25 22:37:27 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2014-09-25 22:37:27 +0000 |
commit | d8ef9b3342dce9245e3438162b0c68f65e684155 (patch) | |
tree | ed6a16025fe029b95c9ead46225b9256588a1a84 /cddl/compat | |
parent | ce631e38133b2b7ec19fcf840d3c333e91c0ac39 (diff) | |
download | FreeBSD-src-d8ef9b3342dce9245e3438162b0c68f65e684155.zip FreeBSD-src-d8ef9b3342dce9245e3438162b0c68f65e684155.tar.gz |
The strtol(3) family of functions would set errno when it hits one.
Check errno and handle it as invalid input.
Obtained from: HardenedBSD
Submitted by: David CARLIER <devnexen@gmail.com>
MFC after: 2 weeks
Diffstat (limited to 'cddl/compat')
0 files changed, 0 insertions, 0 deletions