]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit - include/input.h
xfsprogs: xfs_quota allow user or group names beginning with digits
authorRich Johnston <rjohnston@sgi.com>
Mon, 22 Apr 2013 17:32:05 +0000 (17:32 +0000)
committerRich Johnston <rjohnston@sgi.com>
Tue, 23 Apr 2013 12:58:11 +0000 (07:58 -0500)
commitfd537fc50eeade63bbd2a66105f39d04a011a7f5
treeaaed2ca7a6ffb2d79c02982ba0557e2b6e68a5e0
parent04e0266182839805213d8b1d94fd14d99e4a0420
xfsprogs: xfs_quota allow user or group names beginning with digits

xfs_quota does not properly parse users or groups that begin with a number.
Only call atoi when user or group consists of digits only.

Signed-off-by: Rich Johnston <rjohnston@sgi.com>
Reported-by: James Carter <james.carter@bytemark.co.uk>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Chandra Seetharaman <sekharan@us.ibm.com>
include/input.h
libxcmd/input.c
quota/quota.c
quota/quota.h