11 Jul 2012 12:27
CVS: cvs.openbsd.org: src
Kenneth R Westerback <krw <at> cvs.openbsd.org>
2012-07-11 10:27:34 GMT
2012-07-11 10:27:34 GMT
CVSROOT: /cvs Module name: src Changes by: krw <at> cvs.openbsd.org 2012/07/11 04:27:34 Modified files: sbin/fdisk : misc.h part.c misc.c cmd.c Log message: Simplify guts and calling of getuint(). Eliminate a useless 'help' capablity by using help text as regular prompt for 'size' and 'offset'. Try to detect and handle more overflow/underflow conditions in getuint() and ensure returned value is always within requested bounds. Handle zero-length partitions by treating them as UNUSED. tested & ok halex <at>
RSS Feed