Re: [PATCH] path: fix 1 byte overflow with empty lists

Bill Kendall
2011-11-07T15:14:38Z

On 11/05/2011 11:46 PM, Mike Frysinger wrote:
> If pap->pa_cnt is 0, then the local buffer is allocated as 1 byte,
> but the code then writes two bytes to it '/' and '\0'.
>
> Signed-off-by: Mike Frysinger<vapier@gentoo.org>

Looks good,

Reviewed-by: Bill Kendall <wkendall@sgi.com>

_______________________________________________
xfs mailing list
xfs@oss.sgi.com