Re: [PATCH] bs_sheepdog.c: fix an unsafe strncpy() call
FUJITA Tomonori <[email protected]>
| Newsgroups | org.kernel.vger.stgt |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 24 Nov 2013 23:18:09 +0900 Hitoshi Mitake <[email protected]> wrote: > The strncpy() call doesn't take a null terminator into account. On > some environment, it conflicts with __builtin___strncpy_chk() and gcc > warns. > > Signed-off-by: Hitoshi Mitake <[email protected]> > --- > usr/bs_sheepdog.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks.