Re: [PATCH 3/4] avoid strncpy-induced buffer overrun

2012-04-20 Thread Josef Bacik
On Fri, Apr 20, 2012 at 07:36:47PM +0200, Jim Meyering wrote: From: Jim Meyering meyer...@redhat.com * restore.c (main): Ensure strncpy-copied dir_name is NUL-terminated. * btrfsctl.c (main): Likewise, for a command-line argument. * utils.c (multiple functions): Likewise. * btrfs-list.c

Re: [PATCH 3/4] avoid strncpy-induced buffer overrun

2012-04-20 Thread Jim Meyering
Josef Bacik wrote: On Fri, Apr 20, 2012 at 07:36:47PM +0200, Jim Meyering wrote: From: Jim Meyering meyer...@redhat.com * restore.c (main): Ensure strncpy-copied dir_name is NUL-terminated. * btrfsctl.c (main): Likewise, for a command-line argument. * utils.c (multiple functions): Likewise.