[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [dm-devel] [PATCH] dm: strncpy does not null terminate string
- From: Alasdair G Kergon <agk redhat com>
- To: Roel Kluin <roel kluin gmail com>
- Cc: dm-devel redhat com, Andrew Morton <akpm linux-foundation org>
- Subject: Re: [dm-devel] [PATCH] dm: strncpy does not null terminate string
- Date: Wed, 22 Jul 2009 13:29:10 +0100
On Fri, Jul 17, 2009 at 05:35:59PM +0200, Roel Kluin wrote:
> strlcpy() will always null terminate the string.
The code is already supposed to ensure correct NULL-termination.
Did you find a bug? If so, please give details of the code path
concerned in the patch header and I'll need to deal with it promptly
and submit it to stable too.
Or are you simply proposing this as a precaution against future bugs,
in which case it is not urgent?
Alasdair
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]