[dm-devel] [PATCH] dm: strncpy does not null terminate string
Alasdair G Kergon
agk at redhat.com
Wed Jul 22 12:29:10 UTC 2009
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
More information about the dm-devel
mailing list