Re: a few strncpy-related patches

2012-08-20 Thread Jim Meyering
Andi Kleen wrote: > Jim Meyering writes: > >> I've seen a few too many cases of strncpy misuse. >> Looking through linux sources, I spotted/fixed these: >> >> [PATCH] ACPI: remove unwarranted use of strncpy >> [PATCH] fs/9p: avoid debug OOPS when reading a long symlink >> [PATCH] kmemleak: avoid b

Re: a few strncpy-related patches

2012-08-20 Thread Andi Kleen
Jim Meyering writes: > I've seen a few too many cases of strncpy misuse. > Looking through linux sources, I spotted/fixed these: > > [PATCH] ACPI: remove unwarranted use of strncpy > [PATCH] fs/9p: avoid debug OOPS when reading a long symlink > [PATCH] kmemleak: avoid buffer overrun: NUL-terminat

a few strncpy-related patches

2012-08-20 Thread Jim Meyering
I've seen a few too many cases of strncpy misuse. Looking through linux sources, I spotted/fixed these: [PATCH] ACPI: remove unwarranted use of strncpy [PATCH] fs/9p: avoid debug OOPS when reading a long symlink [PATCH] kmemleak: avoid buffer overrun: NUL-terminate strncpy-copied [PATCH] bfa: avoi