A heap-buffer-overflow has occurred when running program mp42hls.

Here is the reproducing command:
`./mp42hls poc3`
（unzip first）

POC:
[poc3.zip](https://github.com/axiomatic-systems/Bento4/files/9591908/poc3.zip)

Here is the reproduce trace reported by ASAN:
```
==2860209==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x602000000234 at pc 0x00000046dd2e bp 0x7ffd53e98cd0 sp 0x7ffd53e98cc8READ of size 1 at 0x602000000234 thread T0
    #0 0x46dd2d in AP4_Mp4AudioDecoderConfig::Parse(unsigned char const*, unsigned int) (/fuzzmp42hls/quchong/mp42hls+0x46dd2d) 
    #1 0x5c5763 in AP4_Mpeg2TsAudioSampleStream::WriteSample(AP4_Sample&, AP4_DataBuffer&, AP4_SampleDescription*, bool, AP4_ByteStream&) (/fuzzmp42hls/quchong/mp42hls+0x5c5763)
    #2 0x4439c8 in main (/fuzzmp42hls/quchong/mp42hls+0x4439c8)
    #3 0x7f6949c52c86 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21c86)    #4 0x407dd9 in _start (/fuzzmp42hls/quchong/mp42hls+0x407dd9)
0x602000000234 is located 0 bytes to the right of 4-byte region [0x602000000230,0x602000000234)
allocated by thread T0 here:
    #0 0x9dbf50 in malloc /llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cpp:145
    #1 0x7f694aa8e297 in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x93297)
    #2 0x5c5763 in AP4_Mpeg2TsAudioSampleStream::WriteSample(AP4_Sample&, AP4_DataBuffer&, AP4_SampleDescription*, bool, AP4_ByteStream&) (/fuzzmp42hls/quchong/mp42hls+0x5c5763)
    #3 0x4439c8 in main (/fuzzmp42hls/quchong/mp42hls+0x4439c8)    #4 0x7f6949c52c86 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21c86)
SUMMARY: AddressSanitizer: heap-buffer-overflow (/fuzzmp42hls/quchong/mp42hls+0x46dd2d) in AP4_Mp4AudioDecoderConfig::Parse(unsigned char const*, unsigned int)Shadow bytes around the buggy address:
  0x0c047fff7ff0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  0x0c047fff8000: fa fa 00 00 fa fa 00 00 fa fa 00 00 fa fa fd fd
  0x0c047fff8010: fa fa 04 fa fa fa fd fd fa fa 00 05 fa fa 04 fa  0x0c047fff8020: fa fa 00 fa fa fa fd fd fa fa 04 fa fa fa fd fa
  0x0c047fff8030: fa fa fd fa fa fa 01 fa fa fa 00 00 fa fa 00 00=>0x0c047fff8040: fa fa 04 fa fa fa[04]fa fa fa fa fa fa fa fa fa
  0x0c047fff8050: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa  0x0c047fff8060: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c047fff8070: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa  0x0c047fff8080: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c047fff8090: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa faShadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07 
  Heap left redzone:       fa
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Container overflow:      fc
  Array cookie:            ac
  Intra object redzone:    bb
  ASan internal:           fe
  Left alloca redzone:     ca
  Right alloca redzone:    cb
  Shadow gap:              cc
==2860209==ABORTING
```

heap-buffer-overflow in mp42hls  (AP4_Mp4AudioDecoderConfig::Parse(unsigned char const*, unsigned int)
This is a GitHub Issue
repo:Bento4
owner:axiomatic-systems
Title : heap-buffer-overflow in mp42hls  (AP4_Mp4AudioDecoderConfig::Parse(unsigned char const*, unsigned int)
Issue date:

--- start body ---
A heap-buffer-overflow has occurred when running program mp42hls.

Here is the reproducing command:
`./mp42hls poc3`
（unzip first）

POC:
[poc3.zip](https://github.com/axiomatic-systems/Bento4/files/9591908/poc3.zip)

Here is the reproduce trace reported by ASAN:
```
==2860209==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x602000000234 at pc 0x00000046dd2e bp 0x7ffd53e98cd0 sp 0x7ffd53e98cc8READ of size 1 at 0x602000000234 thread T0
    #0 0x46dd2d in AP4_Mp4AudioDecoderConfig::Parse(unsigned char const*, unsigned int) (/fuzzmp42hls/quchong/mp42hls+0x46dd2d) 
    #1 0x5c5763 in AP4_Mpeg2TsAudioSampleStream::WriteSample(AP4_Sample&, AP4_DataBuffer&, AP4_SampleDescription*, bool, AP4_ByteStream&) (/fuzzmp42hls/quchong/mp42hls+0x5c5763)
    #2 0x4439c8 in main (/fuzzmp42hls/quchong/mp42hls+0x4439c8)
    #3 0x7f6949c52c86 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21c86)    #4 0x407dd9 in _start (/fuzzmp42hls/quchong/mp42hls+0x407dd9)
0x602000000234 is located 0 bytes to the right of 4-byte region [0x602000000230,0x602000000234)
allocated by thread T0 here:
    #0 0x9dbf50 in malloc /llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cpp:145
    #1 0x7f694aa8e297 in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x93297)
    #2 0x5c5763 in AP4_Mpeg2TsAudioSampleStream::WriteSample(AP4_Sample&, AP4_DataBuffer&, AP4_SampleDescription*, bool, AP4_ByteStream&) (/fuzzmp42hls/quchong/mp42hls+0x5c5763)
    #3 0x4439c8 in main (/fuzzmp42hls/quchong/mp42hls+0x4439c8)    #4 0x7f6949c52c86 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21c86)
SUMMARY: AddressSanitizer: heap-buffer-overflow (/fuzzmp42hls/quchong/mp42hls+0x46dd2d) in AP4_Mp4AudioDecoderConfig::Parse(unsigned char const*, unsigned int)Shadow bytes around the buggy address:
  0x0c047fff7ff0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  0x0c047fff8000: fa fa 00 00 fa fa 00 00 fa fa 00 00 fa fa fd fd
  0x0c047fff8010: fa fa 04 fa fa fa fd fd fa fa 00 05 fa fa 04 fa  0x0c047fff8020: fa fa 00 fa fa fa fd fd fa fa 04 fa fa fa fd fa
  0x0c047fff8030: fa fa fd fa fa fa 01 fa fa fa 00 00 fa fa 00 00=>0x0c047fff8040: fa fa 04 fa fa fa[04]fa fa fa fa fa fa fa fa fa
  0x0c047fff8050: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa  0x0c047fff8060: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c047fff8070: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa  0x0c047fff8080: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c047fff8090: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa faShadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07 
  Heap left redzone:       fa
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Container overflow:      fc
  Array cookie:            ac
  Intra object redzone:    bb
  ASan internal:           fe
  Left alloca redzone:     ca
  Right alloca redzone:    cb
  Shadow gap:              cc
==2860209==ABORTING
```

--- end body ---
