CVSROOT: /cvs Module name: src Changes by: [email protected] 2018/03/30 03:25:06
Modified files:
usr.bin/cut : cut.c
regress/usr.bin/cut: cut.sh
Log message:
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
