xfs
[Top] [All Lists]

Re: [PATCH] Validate string -> number conversion. [version 3]

To: Arkadiusz Miśkiewicz <arekm@xxxxxxxx>
Subject: Re: [PATCH] Validate string -> number conversion. [version 3]
From: Alex Elder <aelder@xxxxxxx>
Date: Fri, 27 Aug 2010 16:32:04 -0500
Cc: xfs@xxxxxxxxxxx
In-reply-to: <1282942476-5296-1-git-send-email-arekm@xxxxxxxx>
References: <20100826082612.GE705@dastard> <1282942476-5296-1-git-send-email-arekm@xxxxxxxx>
Reply-to: aelder@xxxxxxx
On Fri, 2010-08-27 at 22:54 +0200, Arkadiusz Miśkiewicz wrote:
> Make sure that numbers passed as string will fit into proper
> types when doing string->uid_t/gid_t/prid_t conversion.

Looks good to me.  I can commit this for you next week if
nobody else has any issue with it.

Reviewed-by: Alex Elder <aelder@xxxxxxx>

> Signed-off-by: Arkadiusz Miśkiewicz <arekm@xxxxxxxx>
> ---
>  libxcmd/input.c |   36 ++++++++++++++++++++++++------------
>  quota/project.c |    2 +-
>  2 files changed, 25 insertions(+), 13 deletions(-)
. . .

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