CVSROOT: /cvs Module name: src Changes by: [email protected] 2012/07/09 06:45:30
Modified files:
sbin/fdisk : misc.c cmd.c
Log message:
Use strtonum() instead of strtol() inside ask_num(). Many overflows
are thus avoided. Since bounds are now reliable don't check the
returned value for being in-bounds. Since default value is
forced inside bounds, don't bother being tricky and passing a
default that is outside the bounds being specified.
ok beck@
