[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



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]