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

Alex Elder aelder at sgi.com
Fri Aug 27 16:32:04 CDT 2010


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 at sgi.com>

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




More information about the xfs mailing list