Documentation/accounting/getdelays.c: avoid strncpy in accounting tool
commit8da01af45e197110cbce84fb5ccb54645f051ac6
authorKees Cook <keescook@chromium.org>
Wed, 3 Jul 2013 22:09:08 +0000 (3 15:09 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 Jul 2013 23:08:06 +0000 (3 16:08 -0700)
tree843d63f52ed7fe1a6e1bcb70cff6841c43a87382
parent94ac11833fc46fcde6eec7d97893a44c7673967b
Documentation/accounting/getdelays.c: avoid strncpy in accounting tool

Avoid strncpy anti-pattern.

[akpm@linux-foundation.org: remove the str[cpy|dup] altogether]
Signed-off-by: Kees Cook <keescook@chromium.org>
Cc: Andreas Schwab <schwab@linux-m68k.org>
Cc: Rob Landley <rob@landley.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/accounting/getdelays.c