Whamcloud - gitweb
e2image: Fix potential off-by-one fs_device_name buffer overflow
authorDmitry V. Levin <ldv@altlinux.org>
Sat, 20 Oct 2007 18:08:20 +0000 (22:08 +0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 29 Oct 2007 14:59:01 +0000 (10:59 -0400)
commit84d51a2e99277dfb728edc7c5e06273a49d197f5
tree7d933f8d1ee3c22c3810c5955ad90c952c14344a
parent0033e333f817fd9877a88492ed79dcf7240ae233
e2image: Fix potential off-by-one fs_device_name buffer overflow

In write_image_file(), fix length argument of strncat(3) call.

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/e2image.c