Fix heap-buffer-overflow error detected by address sanitization on a fuzzed binary.