Fix the typehelp[] array
authorBart Van Assche <bvanassche@acm.org>
Fri, 24 Aug 2018 23:48:11 +0000 (16:48 -0700)
committerBart Van Assche <bvanassche@acm.org>
Sat, 25 Aug 2018 00:03:07 +0000 (17:03 -0700)
commitcbd6ce9c2a4089ad7ca87632d14f74047a1d36c2
tree4b5acc69af37f5780e3b0619e79da53d8972fc0d
parent9916f60af6e7b1ca05a1568d22d4010d08130fd6
Fix the typehelp[] array

This patch fixes Coverity ID 183335 (Out-of-bounds access of typehelp[] array).

Fixes: 5fff95436922 ("Add support for >= 4G block sizes")
Fixes: c47537ee91cd ("parse: add support for soft deprecated options")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
parse.c