]> err.no Git - util-linux/commit
renice: correctly detect errors in arguments
authorLaMont Jones <lamont@debian.org>
Mon, 7 Jan 2008 02:53:56 +0000 (19:53 -0700)
committerLaMont Jones <lamont@debian.org>
Mon, 7 Jan 2008 02:54:43 +0000 (19:54 -0700)
commit34b6cdb4e268e9efd0a0b75fc7b1440fa2d759b8
tree0dc30deff0f19d2cf594a12ccf331aa54f353d03
parent513950b82c71c35d61fe508216623ce62a0cf4db
renice: correctly detect errors in arguments

renice was using atoi(), which does no error detection, meaning that:
"renice +20 blah" was accepted as valid.

Addresses-Debian-Bug: 385245
Signed-off-by: LaMont Jones <lamont@debian.org>
sys-utils/renice.c