summaryrefslogtreecommitdiff
path: root/sbin/fdisk
diff options
context:
space:
mode:
authorTobias Stoeckmann <tobias@cvs.openbsd.org>2018-03-30 09:25:07 +0000
committerTobias Stoeckmann <tobias@cvs.openbsd.org>2018-03-30 09:25:07 +0000
commit187692fc65df0f68e4089df7578f3ad930aeaf24 (patch)
tree7214fb735580f4df7531a5b6b165ffe607ebdf09 /sbin/fdisk
parent1b19d9614f9191be3c3ec524f1e2d30dd2abfa65 (diff)
Fix overflow in list value parsing.
On 64 bit systems an integer overflow between strtol and int casting could occur, resulting in out of boundary writes. Using strtonum fixes this issue and leads to better error messages. ok schwarze
Diffstat (limited to 'sbin/fdisk')
0 files changed, 0 insertions, 0 deletions