Jim Meyering f07c9a79f0 Btrfs: avoid buffer overrun in btrfs_printk
The buffer read-overrun would be triggered by a printk format
starting with <N>, where N is a single digit.  NUL-terminate
after strncpy.  Use memcpy, not strncpy, since we know the
string we're copying fits in the destination buffer and
contains no NUL byte.

Signed-off-by: Jim Meyering <meyering@redhat.com>
2012-05-30 10:23:31 -04:00
..
2012-05-30 10:23:27 -04:00
2011-07-26 16:49:47 -07:00
2012-05-30 10:23:30 -04:00
2011-10-20 18:10:50 +02:00
2012-05-30 10:23:30 -04:00
2012-05-30 10:23:30 -04:00
2012-04-27 13:55:13 -04:00