Whamcloud - gitweb
mke2fs: fix fencepost error when calling strncat
authorTheodore Ts'o <tytso@mit.edu>
Thu, 10 Jul 2014 19:33:57 +0000 (15:33 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 10 Jul 2014 19:33:57 +0000 (15:33 -0400)
commit30db7954c7165bc77693054f135a1466f2594027
tree266ca3ecefed1676d67f2526d65b5ab1fe981c44
parentde25d9c8c48c7474828e9452184e204b18b8e090
mke2fs: fix fencepost error when calling strncat

There were other protections which would prevent a buffer overflow
from happening, but we should fix this nevertheless.

Addresses-Coverity-Bug: #1225003
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/mk_hugefiles.c