Fix off-by-one error that enabled the fuzzer to find a crash hole.
authorEric S. Raymond <esr@thyrsus.com>
Tue, 20 Jun 2017 11:20:03 +0000 (07:20 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Tue, 20 Jun 2017 11:20:03 +0000 (07:20 -0400)
commit018ca9ae373090cf8ed94d577232b8b02759f4c6
treeff09baf7554b0acaaac5bbc638ab3b18b2f6af0b
parentd747d4342989405f32e2f1b7ef1adf69c4fab7a5
Fix off-by-one error that enabled the fuzzer to find a crash hole.

One has to allocate space for the trailing NUL, too.
misc.c