avoid string overflows
authorEric Sandeen <sandeen@redhat.com>
Fri, 16 Dec 2011 19:36:56 +0000 (13:36 -0600)
committerJens Axboe <jaxboe@fusionio.com>
Wed, 1 Feb 2012 12:14:33 +0000 (13:14 +0100)
commitd324757e0f2cfc87ddcc2fea7e59d81cc8661f1c
tree4cd4290cd22445f018767d5590e04e43b4db20f7
parent62d712a7bb9cd4c8366d8228cf90ffa7b31b6eac
avoid string overflows

Several places using strcpy would benefit from strncpy
for safety.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
blkparse.c
blktrace.c