Re: [PATCH] strncpy() will not \0 terminate result

From: Jesper Juhl
Date: Sun Jan 16 2011 - 09:07:09 EST


On Fri, 14 Jan 2011, Tony Finch wrote:

> This patch is incorrect. The strncpy is replacing "else" with "if " so needs to copy exactly 4 bytes.
>
Whoops. Sorry about the noise.

--
Jesper Juhl <jj@xxxxxxxxxxxxx> http://www.chaosbits.net/
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please.

--
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/