Re: [PATCH] kernel: debug: kdb: strncpy issue, using strlcpy insteadof strncpy.

From: Chen Gang
Date: Tue Apr 23 2013 - 21:13:20 EST


On 2013年04月24日 04:50, Anton Vorontsov wrote:
> On Wed, Apr 17, 2013 at 05:43:13PM +0800, Chen Gang wrote:
>> > Hello maintainers:
>> >
>> > please help check this patch, when you have time, thanks.
>> >
> The patch looks good. I would add to the description: "..., otherwise the
> destination string might end up not being terminted with the NUL, causing
> all sorts of misbehaviour."
>
> Acked-by: Anton Vorontsov <anton@xxxxxxxxxx>
>
> Thanks!
>

Thanks, also thank you for your additional description.

--
Chen Gang

Asianux Corporation
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/