xfs
[Top] [All Lists]

Bug#705483: xfsprogs: xfs_quota misinterprets usernames with leading dig

To: James Carter <james.carter@xxxxxxxxxxxxxx>, <705483@xxxxxxxxxxxxxxx>
Subject: Bug#705483: xfsprogs: xfs_quota misinterprets usernames with leading digits
From: Rich Johnston <rjohnston@xxxxxxx>
Date: Tue, 23 Apr 2013 08:02:05 -0500
Cc: <submit@xxxxxxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <516C12DB.3060806@xxxxxxxxxxxxxx>
References: <516C12DB.3060806@xxxxxxxxxxxxxx>
Reply-to: Rich Johnston <rjohnston@xxxxxxx>, 705483@xxxxxxxxxxxxxxx
Resent-cc: XFS Development Team <xfs@xxxxxxxxxxx>
Resent-date: Tue, 23 Apr 2013 13:03:09 +0000
Resent-from: Rich Johnston <rjohnston@xxxxxxx>
Resent-message-id: <handler.705483.B705483.13667221219243@xxxxxxxxxxxxxxx>
Resent-sender: Debian BTS <debbugs@xxxxxxxxxxxxxxxxxxxx>
Resent-to: debian-bugs-dist@xxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120615 Thunderbird/13.0.1
James,

The following commit will resolve the issue.

Thanks
--Rich

commit fd537fc50eeade63bbd2a66105f39d04a011a7f5
Author: Rich Johnston <rjohnston@xxxxxxx>
Date:   Mon Apr 22 17:32:05 2013 +0000

    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@xxxxxxx>
    Reported-by: James Carter <james.carter@xxxxxxxxxxxxxx>
    Reviewed-by: Eric Sandeen <sandeen@xxxxxxxxxx>
    Reviewed-by: Chandra Seetharaman <sekharan@xxxxxxxxxx>

<Prev in Thread] Current Thread [Next in Thread>