diff options
| author | Rickard Strandqvist <[email protected]> | 2014-06-23 13:22:04 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2014-06-23 16:47:44 -0700 |
| commit | 88e15ce402c58f41037752da092683e90826742a (patch) | |
| tree | 1e20d014a7e31b2ffe1347384533ef928e61429a /lib/string_helpers.c | |
| parent | b6226b45c66196e14ef628d3aead2139700db1ad (diff) | |
Documentation/accounting/getdelays.c: add missing null-terminate after strncpy call
Added a guaranteed null-terminate after call to strncpy.
This was partly found using a static code analysis program called
cppcheck.
Signed-off-by: Rickard Strandqvist <[email protected]>
Acked-by: Kees Cook <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions