issue_owner_repo listlengths 2 2 | issue_body stringlengths 0 261k ⌀ | issue_title stringlengths 1 925 | issue_comments_url stringlengths 56 81 | issue_comments_count int64 0 2.5k | issue_created_at stringlengths 20 20 | issue_updated_at stringlengths 20 20 | issue_html_url stringlengths 37 62 | issue_github_id int64 387k 2.46B | issue_number int64 1 127k |
|---|---|---|---|---|---|---|---|---|---|
[
"axiomatic-systems",
"Bento4"
] | There is a buffer overflow in Ap4ElstAtom.cpp related to AP4_ElstAtom.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.6 LTS
Release: 16.04
Codename: xenial
gcc: 5.4.0
To reproduce the bug,
compile the project with flag
DCMAKE_C_FLAGS=-g -m32 -fsanitize=address,undefined
then run:
./mp42aac input /dev/null
The occur location in the function AP4_NullTerminatedStringAtom, Source/C++/Core/Ap4Atom.cpp.

Here is the trace reported by ASAN:
==10577==ERROR: AddressSanitizer: heap-buffer-overflow on address 0xf54006cf at pc 0x085d6d35 bp 0xffe49ac8 sp 0xffe49ab8
WRITE of size 1 at 0xf54006cf thread T0
#0 0x85d6d34 in AP4_NullTerminatedStringAtom::AP4_NullTerminatedStringAtom(unsigned int, unsigned long long, AP4_ByteStream&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4Atom.cpp:474
#1 0x82ccfbb in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:529
#2 0x82fa1f7 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:225
#3 0x82fa1f7 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:151
#4 0x809a044 in AP4_File::ParseStream(AP4_ByteStream&, AP4_AtomFactory&, bool) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4File.cpp:104
#5 0x809a044 in AP4_File::AP4_File(AP4_ByteStream&, bool) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4File.cpp:78
#6 0x8082ce7 in main /mnt/data/playground/mp42-a/Source/C++/Apps/Mp42Aac/Mp42Aac.cpp:250
#7 0xf6a25636 in __libc_start_main (/lib/i386-linux-gnu/libc.so.6+0x18636)
#8 0x808df1b (/mnt/data/playground/mp42-patch/Build/mp42aac+0x808df1b)
0xf54006cf is located 1 bytes to the left of 1-byte region [0xf54006d0,0xf54006d1)
allocated by thread T0 here:
#0 0xf729ce46 in operator new[](unsigned int) (/usr/lib32/libasan.so.2+0x97e46)
#1 0x85d6657 in AP4_NullTerminatedStringAtom::AP4_NullTerminatedStringAtom(unsigned int, unsigned long long, AP4_ByteStream&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4Atom.cpp:472
#2 0x82ccfbb in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:529
#3 0x82fa1f7 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:225
#4 0x82fa1f7 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:151
#5 0x809a044 in AP4_File::ParseStream(AP4_ByteStream&, AP4_AtomFactory&, bool) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4File.cpp:104
#6 0x809a044 in AP4_File::AP4_File(AP4_ByteStream&, bool) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4File.cpp:78
#7 0x8082ce7 in main /mnt/data/playground/mp42-a/Source/C++/Apps/Mp42Aac/Mp42Aac.cpp:250
#8 0xf6a25636 in __libc_start_main (/lib/i386-linux-gnu/libc.so.6+0x18636)
SUMMARY: AddressSanitizer: heap-buffer-overflow /mnt/data/playground/mp42-a/Source/C++/Core/Ap4Atom.cpp:474 AP4_NullTerminatedStringAtom::AP4_NullTerminatedStringAtom(unsigned int, unsigned long long, AP4_ByteStream&)
Shadow bytes around the buggy address:
0x3ea80080: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x3ea80090: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x3ea800a0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x3ea800b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x3ea800c0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
=>0x3ea800d0: fa fa fa fa fa fa fa fa fa[fa]01 fa fa fa 00 04
0x3ea800e0: fa fa 00 04 fa fa 00 fa fa fa 00 04 fa fa 00 fa
0x3ea800f0: fa fa 00 04 fa fa 00 fa fa fa 00 04 fa fa 00 fa
0x3ea80100: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x3ea80110: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x3ea80120: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
Addressable: 00
Partially addressable: 01 02 03 04 05 06 07
Heap left redzone: fa
Heap right redzone: fb
Freed heap region: fd
Stack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
Stack partial redzone: f4
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
==10577==ABORTING
This is the POC input:
[poc_inputs.zip](https://github.com/axiomatic-systems/Bento4/files/3486829/poc_inputs.zip)
| buffer overflow in AP4_NullTerminatedStringAtom | https://api.github.com/repos/axiomatic-systems/Bento4/issues/418/comments | 0 | 2019-08-09T14:41:05Z | 2019-08-25T16:21:42Z | https://github.com/axiomatic-systems/Bento4/issues/418 | 479,022,417 | 418 |
[
"axiomatic-systems",
"Bento4"
] | There is a null pointer dereference bug running mp42aac.
It is similar to #413.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.6 LTS
Release: 16.04
Codename: xenial
gcc: 5.4.0
To reproduce the bug,
compile the project with flag
DCMAKE_C_FLAGS=-g -m32 -fsanitize=address,undefined
then run:
./mp42aac input /dev/null
The reason for this problem is due to the mishandled memory allocation:

Here is the trace reported by ASAN:
/mnt/data/playground/mp42-a/Source/C++/Core/Ap4DataBuffer.cpp:175:41: runtime error: null pointer passed as argument 1, which is declared to never be null
/usr/include/i386-linux-gnu/bits/string3.h:53:71: runtime error: null pointer passed as argument 1, which is declared to never be null
==147453==WARNING: AddressSanitizer failed to allocate 0xfffffff8 bytes
==147453==AddressSanitizer's allocator is terminating the process instead of returning 0
==147453==If you don't like this behavior set allocator_may_return_null=1
==147453==AddressSanitizer CHECK failed: ../../../../../src/libsanitizer/sanitizer_common/sanitizer_allocator.cc:147 "((0)) != (0)" (0x0, 0x0)
#0 0xf72aa797 (/usr/lib32/libasan.so.2+0x9f797)
#1 0xf72afa69 in __sanitizer::CheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) (/usr/lib32/libasan.so.2+0xa4a69)
#2 0xf722107b (/usr/lib32/libasan.so.2+0x1607b)
#3 0xf72ade80 (/usr/lib32/libasan.so.2+0xa2e80)
#4 0xf7226229 (/usr/lib32/libasan.so.2+0x1b229)
#5 0xf72a2e16 in operator new[](unsigned int) (/usr/lib32/libasan.so.2+0x97e16)
#6 0x877ebaf in AP4_DataBuffer::AP4_DataBuffer(unsigned int) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4DataBuffer.cpp:55
#7 0x889fddb in AP4_HvccAtom::Create(unsigned int, AP4_ByteStream&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4HvccAtom.cpp:86
#8 0x82dc364 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:488
#9 0x82fa1f7 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:225
#10 0x82fa1f7 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:151
#11 0x809a044 in AP4_File::ParseStream(AP4_ByteStream&, AP4_AtomFactory&, bool) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4File.cpp:104
#12 0x809a044 in AP4_File::AP4_File(AP4_ByteStream&, bool) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4File.cpp:78
#13 0x8082ce7 in main /mnt/data/playground/mp42-a/Source/C++/Apps/Mp42Aac/Mp42Aac.cpp:250
#14 0xf6a2b636 in __libc_start_main (/lib/i386-linux-gnu/libc.so.6+0x18636)
#15 0x808df1b (/mnt/data/playground/mp42-patch/Build/mp42aac+0x808df1b)
This is the POC input:
[poc_input7.zip](https://github.com/axiomatic-systems/Bento4/files/3486744/poc_input7.zip)
| Null pointer dereference bug | https://api.github.com/repos/axiomatic-systems/Bento4/issues/417/comments | 0 | 2019-08-09T14:25:13Z | 2019-08-25T16:22:03Z | https://github.com/axiomatic-systems/Bento4/issues/417 | 479,014,683 | 417 |
[
"axiomatic-systems",
"Bento4"
] | There is a null pointer dereference caused by unhandled exhaustive memory usage in Ap48bdlAtom.cpp.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.6 LTS
Release: 16.04
Codename: xenial
gcc: 5.4.0
To reproduce the bug,
compile the project with flag
DCMAKE_C_FLAGS=-g -m32 -fsanitize=address,undefined
then run:
./mp42aac input /dev/null
The reason is that the malloc size does not check and easily lead to memory allocation failure.


Here is the trace reported by ASAN:
==131030==WARNING: AddressSanitizer failed to allocate 0xffe1fff1 bytes
==131030==AddressSanitizer's allocator is terminating the process instead of returning 0
==131030==If you don't like this behavior set allocator_may_return_null=1
==131030==AddressSanitizer CHECK failed: ../../../../../src/libsanitizer/sanitizer_common/sanitizer_allocator.cc:147 "((0)) != (0)" (0x0, 0x0)
#0 0xf71fe797 (/usr/lib32/libasan.so.2+0x9f797)
#1 0xf7203a69 in __sanitizer::CheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) (/usr/lib32/libasan.so.2+0xa4a69)
#2 0xf717507b (/usr/lib32/libasan.so.2+0x1607b)
#3 0xf7201e80 (/usr/lib32/libasan.so.2+0xa2e80)
#4 0xf717a229 (/usr/lib32/libasan.so.2+0x1b229)
#5 0xf71f6e16 in operator new[](unsigned int) (/usr/lib32/libasan.so.2+0x97e16)
#6 0x877ebaf in AP4_DataBuffer::AP4_DataBuffer(unsigned int) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4DataBuffer.cpp:55
#7 0x8ba5673 in AP4_8bdlAtom::AP4_8bdlAtom(unsigned int, AP4_ByteStream&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap48bdlAtom.cpp:76
#8 0x8ba5673 in AP4_8bdlAtom::Create(unsigned int, AP4_ByteStream&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap48bdlAtom.cpp:64
#9 0x82e10dc in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:534
#10 0x8301ca3 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:225
#11 0x82b6bae in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4ContainerAtom.cpp:194
#12 0x82b6bae in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4ContainerAtom.cpp:139
#13 0x841a898 in AP4_MoovAtom::AP4_MoovAtom(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4MoovAtom.cpp:80
#14 0x82e2631 in AP4_MoovAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4MoovAtom.h:56
#15 0x82e2631 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:363
#16 0x82fa1f7 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:225
#17 0x82fa1f7 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:151
#18 0x809a044 in AP4_File::ParseStream(AP4_ByteStream&, AP4_AtomFactory&, bool) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4File.cpp:104
#19 0x809a044 in AP4_File::AP4_File(AP4_ByteStream&, bool) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4File.cpp:78
#20 0x8082ce7 in main /mnt/data/playground/mp42-a/Source/C++/Apps/Mp42Aac/Mp42Aac.cpp:250
#21 0xf697f636 in __libc_start_main (/lib/i386-linux-gnu/libc.so.6+0x18636)
#22 0x808df1b (/mnt/data/playground/mp42-patch/Build/mp42aac+0x808df1b)
The poc input:
[poc_input6.zip](https://github.com/axiomatic-systems/Bento4/files/3486674/poc_input6.zip)
| Null pointer dereference caused by unhandled exhaustive memory usage | https://api.github.com/repos/axiomatic-systems/Bento4/issues/416/comments | 0 | 2019-08-09T14:02:54Z | 2019-08-25T16:22:18Z | https://github.com/axiomatic-systems/Bento4/issues/416 | 479,003,776 | 416 |
[
"axiomatic-systems",
"Bento4"
] | There is a heap buffer overflow in Ap4TrunAtom.cpp when running mp42aac.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.6 LTS
Release: 16.04
Codename: xenial
gcc: 5.4.0
To reproduce the bug,
compile the project with flag
'-DCMAKE_C_FLAGS=-g -m32 -fsanitize=address,undefined'
then run:
'./mp42aac input /dev/null'
==147243==ERROR: AddressSanitizer: heap-buffer-overflow on address 0xf4208b40 at pc 0x083eb6d5 bp 0xffef35d8 sp 0xffef35c8
WRITE of size 4 at 0xf4208b40 thread T0
#0 0x83eb6d4 in AP4_Array<AP4_TrunAtom::Entry>::SetItemCount(unsigned int) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4TrunAtom.h:58
#1 0x83d7d9b in AP4_TrunAtom::AP4_TrunAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4TrunAtom.cpp:127
#2 0x83dde35 in AP4_TrunAtom::Create(unsigned int, AP4_ByteStream&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4TrunAtom.cpp:51
#3 0x82dd3b4 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:408
#4 0x8301ca3 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:225
#5 0x82b6bae in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4ContainerAtom.cpp:194
#6 0x82b6bae in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4ContainerAtom.cpp:139
#7 0x841a898 in AP4_MoovAtom::AP4_MoovAtom(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4MoovAtom.cpp:80
#8 0x82e2631 in AP4_MoovAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4MoovAtom.h:56
#9 0x82e2631 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:363
#10 0x82fa1f7 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:225
#11 0x82fa1f7 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:151
#12 0x809a044 in AP4_File::ParseStream(AP4_ByteStream&, AP4_AtomFactory&, bool) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4File.cpp:104
#13 0x809a044 in AP4_File::AP4_File(AP4_ByteStream&, bool) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4File.cpp:78
#14 0x8082ce7 in main /mnt/data/playground/mp42-a/Source/C++/Apps/Mp42Aac/Mp42Aac.cpp:250
#15 0xf6a26636 in __libc_start_main (/lib/i386-linux-gnu/libc.so.6+0x18636)
#16 0x808df1b (/mnt/data/playground/mp42-patch/Build/mp42aac+0x808df1b)
0xf4208b40 is located 0 bytes to the right of 34624-byte region [0xf4200400,0xf4208b40)
allocated by thread T0 here:
#0 0xf729dcd6 in operator new(unsigned int) (/usr/lib32/libasan.so.2+0x97cd6)
#1 0x83e9fa7 in AP4_Array<AP4_TrunAtom::Entry>::EnsureCapacity(unsigned int) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4Array.h:172
#2 0x83e9fa7 in AP4_Array<AP4_TrunAtom::Entry>::SetItemCount(unsigned int) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4Array.h:210
SUMMARY: AddressSanitizer: heap-buffer-overflow /mnt/data/playground/mp42-a/Source/C++/Core/Ap4TrunAtom.h:58 AP4_Array<AP4_TrunAtom::Entry>::SetItemCount(unsigned int)
Shadow bytes around the buggy address:
0x3e841110: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x3e841120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x3e841130: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x3e841140: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x3e841150: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
=>0x3e841160: 00 00 00 00 00 00 00 00[fa]fa fa fa fa fa fa fa
0x3e841170: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x3e841180: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x3e841190: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x3e8411a0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x3e8411b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
Addressable: 00
Partially addressable: 01 02 03 04 05 06 07
Heap left redzone: fa
Heap right redzone: fb
Freed heap region: fd
Stack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
Stack partial redzone: f4
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
==147243==ABORTING
[poc_input5.zip](https://github.com/axiomatic-systems/Bento4/files/3486635/poc_input5.zip) | Heap buffer overflow in Ap4TrunAtom.cpp when running mp42aac | https://api.github.com/repos/axiomatic-systems/Bento4/issues/415/comments | 0 | 2019-08-09T13:50:32Z | 2019-08-25T16:22:31Z | https://github.com/axiomatic-systems/Bento4/issues/415 | 478,997,749 | 415 |
[
"axiomatic-systems",
"Bento4"
] | There is a buffer overflow in Ap4ElstAtom.cpp related to AP4_ElstAtom.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.6 LTS
Release: 16.04
Codename: xenial
gcc: 5.4.0
To reproduce the bug,
compile the project with flag
`DCMAKE_C_FLAGS=-g -m32 -fsanitize=address,undefined`
then run:
`./mp42aac input /dev/null`
This is the trace reported by ASAN:
==89902==ERROR: AddressSanitizer: heap-buffer-overflow on address 0xf4b00b64 at pc 0x086bc1e3 bp 0xff8c68b8 sp 0xff8c68a8
WRITE of size 20 at 0xf4b00b64 thread T0
#0 0x86bc1e2 in AP4_Array<AP4_ElstEntry>::Append(AP4_ElstEntry const&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4ElstAtom.cpp:88
#1 0x86bc1e2 in AP4_ElstAtom::AP4_ElstAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4ElstAtom.cpp:84
#2 0x86bccb5 in AP4_ElstAtom::Create(unsigned int, AP4_ByteStream&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4ElstAtom.cpp:51
#3 0x82e1ccc in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:549
#4 0x8301ca3 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:225
#5 0x82b6bae in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4ContainerAtom.cpp:194
#6 0x82b6bae in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4ContainerAtom.cpp:139
#7 0x82be680 in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4ContainerAtom.cpp:88
#8 0x82dc711 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:768
#9 0x8301ca3 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:225
#10 0x82b6bae in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4ContainerAtom.cpp:194
#11 0x82b6bae in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4ContainerAtom.cpp:139
#12 0x901195b in AP4_TrakAtom::AP4_TrakAtom(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4TrakAtom.cpp:165
#13 0x82da849 in AP4_TrakAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4TrakAtom.h:58
#14 0x82da849 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:383
#15 0x8301ca3 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:225
#16 0x82b6bae in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4ContainerAtom.cpp:194
#17 0x82b6bae in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4ContainerAtom.cpp:139
#18 0x841a898 in AP4_MoovAtom::AP4_MoovAtom(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4MoovAtom.cpp:80
#19 0x82e2631 in AP4_MoovAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4MoovAtom.h:56
#20 0x82e2631 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:363
#21 0x82fa1f7 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:225
#22 0x82fa1f7 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:151
#23 0x809a044 in AP4_File::ParseStream(AP4_ByteStream&, AP4_AtomFactory&, bool) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4File.cpp:104
#24 0x809a044 in AP4_File::AP4_File(AP4_ByteStream&, bool) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4File.cpp:78
#25 0x8082ce7 in main /mnt/data/playground/mp42-a/Source/C++/Apps/Mp42Aac/Mp42Aac.cpp:250
#26 0xf6a6d636 in __libc_start_main (/lib/i386-linux-gnu/libc.so.6+0x18636)
#27 0x808df1b (/mnt/data/playground/mp42-patch/Build/mp42aac+0x808df1b)
0xf4b00b64 is located 0 bytes to the right of 20-byte region [0xf4b00b50,0xf4b00b64)
allocated by thread T0 here:
#0 0xf72e4cd6 in operator new(unsigned int) (/usr/lib32/libasan.so.2+0x97cd6)
#1 0x86b7892 in AP4_Array<AP4_ElstEntry>::EnsureCapacity(unsigned int) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4Array.h:172
#2 0x86b7892 in AP4_ElstAtom::AP4_ElstAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4ElstAtom.cpp:73
#3 0x86bccb5 in AP4_ElstAtom::Create(unsigned int, AP4_ByteStream&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4ElstAtom.cpp:51
#4 0x82e1ccc in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:549
#5 0x8301ca3 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:225
#6 0x82b6bae in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4ContainerAtom.cpp:194
#7 0x82b6bae in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4ContainerAtom.cpp:139
#8 0x82be680 in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4ContainerAtom.cpp:88
#9 0x82dc711 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:768
#10 0x8301ca3 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:225
#11 0x82b6bae in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4ContainerAtom.cpp:194
#12 0x82b6bae in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4ContainerAtom.cpp:139
#13 0x901195b in AP4_TrakAtom::AP4_TrakAtom(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4TrakAtom.cpp:165
#14 0x82da849 in AP4_TrakAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4TrakAtom.h:58
#15 0x82da849 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:383
#16 0x8301ca3 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:225
#17 0x82b6bae in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4ContainerAtom.cpp:194
#18 0x82b6bae in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4ContainerAtom.cpp:139
#19 0x841a898 in AP4_MoovAtom::AP4_MoovAtom(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4MoovAtom.cpp:80
#20 0x82e2631 in AP4_MoovAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4MoovAtom.h:56
#21 0x82e2631 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:363
#22 0x82fa1f7 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:225
#23 0x82fa1f7 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:151
#24 0x809a044 in AP4_File::ParseStream(AP4_ByteStream&, AP4_AtomFactory&, bool) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4File.cpp:104
#25 0x809a044 in AP4_File::AP4_File(AP4_ByteStream&, bool) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4File.cpp:78
#26 0x8082ce7 in main /mnt/data/playground/mp42-a/Source/C++/Apps/Mp42Aac/Mp42Aac.cpp:250
#27 0xf6a6d636 in __libc_start_main (/lib/i386-linux-gnu/libc.so.6+0x18636)
SUMMARY: AddressSanitizer: heap-buffer-overflow /mnt/data/playground/mp42-a/Source/C++/Core/Ap4ElstAtom.cpp:88 AP4_Array<AP4_ElstEntry>::Append(AP4_ElstEntry const&)
Shadow bytes around the buggy address:
0x3e960110: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x3e960120: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x3e960130: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x3e960140: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x3e960150: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
=>0x3e960160: fa fa fa fa fa fa fa fa fa fa 00 00[04]fa fa fa
0x3e960170: 00 00 04 fa fa fa 00 00 00 00 fa fa 00 00 00 00
0x3e960180: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x3e960190: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x3e9601a0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x3e9601b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
Addressable: 00
Partially addressable: 01 02 03 04 05 06 07
Heap left redzone: fa
Heap right redzone: fb
Freed heap region: fd
Stack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
Stack partial redzone: f4
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
==89902==ABORTING
The reason is that the program does not handle the -m32 complier flag and still let the program read the string in 64bit manner and cause the overwrite.

Here is the Poc input:
[poc_input5.zip](https://github.com/axiomatic-systems/Bento4/files/3486360/poc_input5.zip) | Buffer overflow in Ap4ElstAtom.cpp | https://api.github.com/repos/axiomatic-systems/Bento4/issues/414/comments | 0 | 2019-08-09T12:45:59Z | 2019-08-25T16:22:46Z | https://github.com/axiomatic-systems/Bento4/issues/414 | 478,968,882 | 414 |
[
"axiomatic-systems",
"Bento4"
] | There is a buffer overflow inside AP4_IkmsAtom of AP4IkmsAtom.cpp.
It is similar to #412 and #396.
./mp42aac input_file /dev/null
In file Source/C++/Core/AP4IkmsAtom.cpp
AP4_RtpAtom allocates a new buffer to parse the atom in the stream.
The unhandled memory allocation failure causes the read content memcpy to a null pointer.
This is the start points.

In file In file Source/C++/Core/AP4IkmsAtom.cpp


AP4_CopyMemory is the macro define of memcpy and the path formed.
Asan trace report:
==149039==WARNING: AddressSanitizer failed to allocate 0xff7efffd bytes
==149039==AddressSanitizer's allocator is terminating the process instead of returning 0
==149039==If you don't like this behavior set allocator_may_return_null=1
==149039==AddressSanitizer CHECK failed: ../../../../../src/libsanitizer/sanitizer_common/sanitizer_allocator.cc:147 "((0)) != (0)" (0x0, 0x0)
#0 0xf724a797 (/usr/lib32/libasan.so.2+0x9f797)
#1 0xf724fa69 in __sanitizer::CheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) (/usr/lib32/libasan.so.2+0xa4a69)
#2 0xf71c107b (/usr/lib32/libasan.so.2+0x1607b)
#3 0xf724de80 (/usr/lib32/libasan.so.2+0xa2e80)
#4 0xf71c6229 (/usr/lib32/libasan.so.2+0x1b229)
#5 0xf7242e16 in operator new[](unsigned int) (/usr/lib32/libasan.so.2+0x97e16)
#6 0x90075ba in AP4_IkmsAtom::AP4_IkmsAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4IkmsAtom.cpp:87
#7 0x9008e85 in AP4_IkmsAtom::Create(unsigned int, AP4_ByteStream&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4IkmsAtom.cpp:51
#8 0x82db1ec in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:604
#9 0x8301ca3 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:225
#10 0x82b6bae in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4ContainerAtom.cpp:194
#11 0x82b6bae in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4ContainerAtom.cpp:139
#12 0x841a898 in AP4_MoovAtom::AP4_MoovAtom(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4MoovAtom.cpp:80
#13 0x82e2631 in AP4_MoovAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4MoovAtom.h:56
#14 0x82e2631 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:363
#15 0x82fa1f7 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:225
#16 0x82fa1f7 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:151
#17 0x809a044 in AP4_File::ParseStream(AP4_ByteStream&, AP4_AtomFactory&, bool) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4File.cpp:104
#18 0x809a044 in AP4_File::AP4_File(AP4_ByteStream&, bool) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4File.cpp:78
#19 0x8082ce7 in main /mnt/data/playground/mp42-a/Source/C++/Apps/Mp42Aac/Mp42Aac.cpp:250
#20 0xf69cb636 in __libc_start_main (/lib/i386-linux-gnu/libc.so.6+0x18636)
#21 0x808df1b (/mnt/data/playground/mp42-patch/Build/mp42aac+0x808df1b)
The attachment is the poc file.
[poc_input4.zip](https://github.com/axiomatic-systems/Bento4/files/3486302/poc_input4.zip)
| Exhaustive memory usage | https://api.github.com/repos/axiomatic-systems/Bento4/issues/413/comments | 0 | 2019-08-09T12:23:30Z | 2019-08-25T16:23:00Z | https://github.com/axiomatic-systems/Bento4/issues/413 | 478,959,630 | 413 |
[
"axiomatic-systems",
"Bento4"
] | There is a buffer overflow inside AP4_RtpAtom of Ap4RtpAtom.cpp.
./mp42aac input_file /dev/null
In file Source/C++/Core/Ap4RtpAtom.cpp
AP4_RtpAtom allocates a new buffer to parse the atom in the stream.
The unhandled memory allocation failure causes the read content memcpy to a null pointer.
This is the start points.

In file In file Source/C++/Core/Ap4ByteStream.cpp


AP4_CopyMemory is the macro define of memcpy and the path formed.
Asan trace report:
==112964==ERROR: AddressSanitizer: heap-buffer-overflow on address 0xf54006ef at pc 0x0917bae1 bp 0xff98dce8 sp 0xff98dcd8
WRITE of size 1 at 0xf54006ef thread T0
#0 0x917bae0 in AP4_RtpAtom::AP4_RtpAtom(unsigned int, AP4_ByteStream&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4RtpAtom.cpp:51
#1 0x82dda81 in AP4_RtpAtom::Create(unsigned int, AP4_ByteStream&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4RtpAtom.h:53
#2 0x82dda81 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:648
#3 0x8301ca3 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:225
#4 0x82b6bae in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4ContainerAtom.cpp:194
#5 0x82b6bae in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4ContainerAtom.cpp:139
#6 0x841a898 in AP4_MoovAtom::AP4_MoovAtom(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4MoovAtom.cpp:80
#7 0x82e2631 in AP4_MoovAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4MoovAtom.h:56
#8 0x82e2631 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:363
#9 0x82fa1f7 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:225
#10 0x82fa1f7 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:151
#11 0x809a044 in AP4_File::ParseStream(AP4_ByteStream&, AP4_AtomFactory&, bool) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4File.cpp:104
#12 0x809a044 in AP4_File::AP4_File(AP4_ByteStream&, bool) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4File.cpp:78
#13 0x8082ce7 in main /mnt/data/playground/mp42-a/Source/C++/Apps/Mp42Aac/Mp42Aac.cpp:250
#14 0xf6a14636 in __libc_start_main (/lib/i386-linux-gnu/libc.so.6+0x18636)
#15 0x808df1b (/mnt/data/playground/mp42-patch/Build/mp42aac+0x808df1b)
0xf54006ef is located 1 bytes to the left of 1-byte region [0xf54006f0,0xf54006f1)
allocated by thread T0 here:
#0 0xf728be46 in operator new[](unsigned int) (/usr/lib32/libasan.so.2+0x97e46)
#1 0x917b5b4 in AP4_RtpAtom::AP4_RtpAtom(unsigned int, AP4_ByteStream&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4RtpAtom.cpp:49
#2 0x82dda81 in AP4_RtpAtom::Create(unsigned int, AP4_ByteStream&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4RtpAtom.h:53
#3 0x82dda81 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:648
#4 0x8301ca3 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:225
#5 0x82b6bae in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4ContainerAtom.cpp:194
#6 0x82b6bae in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4ContainerAtom.cpp:139
#7 0x841a898 in AP4_MoovAtom::AP4_MoovAtom(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4MoovAtom.cpp:80
#8 0x82e2631 in AP4_MoovAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4MoovAtom.h:56
#9 0x82e2631 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:363
#10 0x82fa1f7 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:225
#11 0x82fa1f7 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:151
#12 0x809a044 in AP4_File::ParseStream(AP4_ByteStream&, AP4_AtomFactory&, bool) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4File.cpp:104
#13 0x809a044 in AP4_File::AP4_File(AP4_ByteStream&, bool) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4File.cpp:78
#14 0x8082ce7 in main /mnt/data/playground/mp42-a/Source/C++/Apps/Mp42Aac/Mp42Aac.cpp:250
#15 0xf6a14636 in __libc_start_main (/lib/i386-linux-gnu/libc.so.6+0x18636)
SUMMARY: AddressSanitizer: heap-buffer-overflow /mnt/data/playground/mp42-a/Source/C++/Core/Ap4RtpAtom.cpp:51 AP4_RtpAtom::AP4_RtpAtom(unsigned int, AP4_ByteStream&)
Shadow bytes around the buggy address:
0x3ea80080: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x3ea80090: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x3ea800a0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x3ea800b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x3ea800c0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
=>0x3ea800d0: fa fa fa fa fa fa fa fa fa fa fa fa fa[fa]01 fa
0x3ea800e0: fa fa 00 04 fa fa 00 fa fa fa 00 04 fa fa 00 fa
0x3ea800f0: fa fa 00 04 fa fa 00 fa fa fa 00 04 fa fa 00 fa
0x3ea80100: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x3ea80110: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x3ea80120: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
Addressable: 00
Partially addressable: 01 02 03 04 05 06 07
Heap left redzone: fa
Heap right redzone: fb
Freed heap region: fd
Stack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
Stack partial redzone: f4
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
==112964==ABORTING
The attachment is the poc file.
[poc_input3.zip](https://github.com/axiomatic-systems/Bento4/files/3485967/poc_input3.zip)
| Heap buffer overflow caused by exhaustive memory usage | https://api.github.com/repos/axiomatic-systems/Bento4/issues/412/comments | 0 | 2019-08-09T10:41:46Z | 2019-08-25T16:23:17Z | https://github.com/axiomatic-systems/Bento4/issues/412 | 478,921,858 | 412 |
[
"axiomatic-systems",
"Bento4"
] | For encrypted DASH streams with key rotation, DASH-IF IOP 4.3 Section 7.3 specifies that there should be `sbgp` and `sgpd` boxes present. In particular, the `sgpd` box tells the kid (Key ID) of the key needed to decrypt that particular segment.
Running mp4encrypt, no such boxes are generated, and looking into the source code for these boxes (Ap4SbgpAtom.h, Ap4SgpdAtom.h) , there seems to be just parsing and getters code, and no setters.
Would be great to get this implemented so that the boxes are in the Common Encryption Segments generated by mp4encrypt.
| sgpd and sbgp missing in encrypted segments generated by mp4encrypt | https://api.github.com/repos/axiomatic-systems/Bento4/issues/411/comments | 0 | 2019-08-08T09:55:20Z | 2019-08-08T09:55:20Z | https://github.com/axiomatic-systems/Bento4/issues/411 | 478,367,326 | 411 |
[
"axiomatic-systems",
"Bento4"
] | Hi
I wonder if this is a bug when PSSH boxes get discarded when adding option "--profile=on-demand" to mp4-dash.py?
1) mp4encrypt is used to encrypt files with custom pssh boxes
2) mp4-dash.py is used to create CMAF output, with DASH manifest defaulting to SegmentList
works OK!
3) Attempt to change DASH Manifest type to SegmentBase with option "--profiles on-demand" in step 2) discards all pssh boxes from resulting CMAF init segments unfortunately, and for me this seems unexpected.
Tested with mp4-dash.py, VERSION=1.8.0-628 | PSSH boxes discarded with mp4-dash.py and option "--profile on-demand" | https://api.github.com/repos/axiomatic-systems/Bento4/issues/410/comments | 0 | 2019-08-02T11:35:10Z | 2019-08-02T11:45:26Z | https://github.com/axiomatic-systems/Bento4/issues/410 | 476,136,094 | 410 |
[
"axiomatic-systems",
"Bento4"
] | # bento4
## version
bento4 1.5.1.0
## description
```txt
None
```
## download link
https://www.bento4.com/
## others
please send email to teamseri0us360@gmail.com if you have any questions.
---------------------
## AP4_AvccAtom::Create@Ap4AvccAtom.cpp-88___heap-buffer-overflow
### description
An issue was discovered in bento4 1.5.1.0, There is a/an heap-buffer-overflow in function AP4_AvccAtom::Create at Ap4AvccAtom.cpp-88
### commandline
mp4compact @@ a.mp4
### source
```c
84 if (cursor+2 > payload_size) return NULL;
85 cursor += 2+AP4_BytesToInt16BE(&payload[cursor]);
86 if (cursor > payload_size) return NULL;
87 }
88 unsigned int num_pic_params = payload[cursor++];
89 if (cursor > payload_size) return NULL;
90 for (unsigned int i=0; i<num_pic_params; i++) {
91 if (cursor+2 > payload_size) return NULL;
92 cursor += 2+AP4_BytesToInt16BE(&payload[cursor]);
93 if (cursor > payload_size) return NULL;
```
### bug report
```txt
=================================================================
==5329==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60200000ef96 at pc 0x000000505821 bp 0x7ffc86645ff0 sp 0x7ffc86645fe0
READ of size 1 at 0x60200000ef96 thread T0
#0 0x505820 in AP4_AvccAtom::Create(unsigned int, AP4_ByteStream&) /src/bento4/Source/C++/Core/Ap4AvccAtom.cpp:88
#1 0x45092f in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /src/bento4/Source/C++/Core/Ap4AtomFactory.cpp:502
#2 0x45425d in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /src/bento4/Source/C++/Core/Ap4AtomFactory.cpp:221
#3 0x45425d in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, AP4_Atom*&) /src/bento4/Source/C++/Core/Ap4AtomFactory.cpp:151
#4 0x4a5886 in AP4_Processor::Process(AP4_ByteStream&, AP4_ByteStream&, AP4_ByteStream*, AP4_Processor::ProgressListener*, AP4_AtomFactory&) /src/bento4/Source/C++/Core/Ap4Processor.cpp:441
#5 0x43e7a0 in main /src/bento4/Source/C++/Apps/Mp4Compact/Mp4Compact.cpp:220
#6 0x7f3dd43b882f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
#7 0x441d88 in _start (/src/aflbuild/installed/bin/mp4compact+0x441d88)
0x60200000ef96 is located 0 bytes to the right of 6-byte region [0x60200000ef90,0x60200000ef96)
allocated by thread T0 here:
#0 0x7f3dd4d936b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x5aeb46 in AP4_DataBuffer::AP4_DataBuffer(unsigned int) /src/bento4/Source/C++/Core/Ap4DataBuffer.cpp:55
#2 0x5 (<unknown module>)
SUMMARY: AddressSanitizer: heap-buffer-overflow /src/bento4/Source/C++/Core/Ap4AvccAtom.cpp:88 AP4_AvccAtom::Create(unsigned int, AP4_ByteStream&)
Shadow bytes around the buggy address:
0x0c047fff9da0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9db0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9dc0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9dd0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9de0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
=>0x0c047fff9df0: fa fa[06]fa fa fa 00 00 fa fa 00 00 fa fa 00 00
0x0c047fff9e00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9e10: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9e20: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9e30: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9e40: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
Addressable: 00
Partially addressable: 01 02 03 04 05 06 07
Heap left redzone: fa
Heap right redzone: fb
Freed heap region: fd
Stack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
Stack partial redzone: f4
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
==5329==ABORTING
```
### others
from fuzz project pwd-bento4-mp4compact-00
crash name AP4_AvccAtom::Create@Ap4AvccAtom.cpp-88___heap-buffer-overflow
Auto-generated by pyspider at 2019-07-11 14:36:49
please send email to teamseri0us360@gmail.com if you have any questions.
### input
[input](https://github.com/zhanggenex/poc/blob/master/bento4/mp4compact/AP4_AvccAtom::Create%40Ap4AvccAtom.cpp-88___heap-buffer-overflow)
## AP4_RtpAtom::AP4_RtpAtom@Ap4RtpAtom.cpp-51___heap-buffer-overflow
### description
An issue was discovered in bento4 1.5.1.0, There is a/an heap-buffer-overflow in function AP4_RtpAtom::AP4_RtpAtom at Ap4RtpAtom.cpp-51
### commandline
mp4compact --verbose @@ a.mp4
### source
```c
47 int str_size = size-(AP4_ATOM_HEADER_SIZE+4);
48 if (str_size) {
49 char* str = new char[str_size+1];
50 stream.Read(str, str_size);
51 str[str_size] = '\0'; // force null-termination
52 m_SdpText = str;
53 delete[] str;
54 }
55 }
56
```
### bug report
```txt
=================================================================
==7361==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60200000ef8f at pc 0x0000005e5041 bp 0x7ffffdbbf8c0 sp 0x7ffffdbbf8b0
WRITE of size 1 at 0x60200000ef8f thread T0
#0 0x5e5040 in AP4_RtpAtom::AP4_RtpAtom(unsigned int, AP4_ByteStream&) /src/bento4/Source/C++/Core/Ap4RtpAtom.cpp:51
#1 0x45015b in AP4_RtpAtom::Create(unsigned int, AP4_ByteStream&) /src/bento4/Source/C++/Core/Ap4RtpAtom.h:53
#2 0x45015b in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /src/bento4/Source/C++/Core/Ap4AtomFactory.cpp:644
#3 0x45425d in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /src/bento4/Source/C++/Core/Ap4AtomFactory.cpp:221
#4 0x45425d in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, AP4_Atom*&) /src/bento4/Source/C++/Core/Ap4AtomFactory.cpp:151
#5 0x4a5886 in AP4_Processor::Process(AP4_ByteStream&, AP4_ByteStream&, AP4_ByteStream*, AP4_Processor::ProgressListener*, AP4_AtomFactory&) /src/bento4/Source/C++/Core/Ap4Processor.cpp:441
#6 0x43e7a0 in main /src/bento4/Source/C++/Apps/Mp4Compact/Mp4Compact.cpp:220
#7 0x7fa4b718382f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
#8 0x441d88 in _start (/src/aflbuild/installed/bin/mp4compact+0x441d88)
0x60200000ef8f is located 1 bytes to the left of 1-byte region [0x60200000ef90,0x60200000ef91)
allocated by thread T0 here:
#0 0x7fa4b7b5e6b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x5e4faa in AP4_RtpAtom::AP4_RtpAtom(unsigned int, AP4_ByteStream&) /src/bento4/Source/C++/Core/Ap4RtpAtom.cpp:49
SUMMARY: AddressSanitizer: heap-buffer-overflow /src/bento4/Source/C++/Core/Ap4RtpAtom.cpp:51 AP4_RtpAtom::AP4_RtpAtom(unsigned int, AP4_ByteStream&)
Shadow bytes around the buggy address:
0x0c047fff9da0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9db0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9dc0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9dd0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9de0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
=>0x0c047fff9df0: fa[fa]01 fa fa fa 00 00 fa fa 00 00 fa fa 00 00
0x0c047fff9e00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9e10: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9e20: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9e30: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9e40: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
Addressable: 00
Partially addressable: 01 02 03 04 05 06 07
Heap left redzone: fa
Heap right redzone: fb
Freed heap region: fd
Stack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
Stack partial redzone: f4
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
==7361==ABORTING
```
### others
from fuzz project pwd-bento4-mp4compact-01
crash name AP4_RtpAtom::AP4_RtpAtom@Ap4RtpAtom.cpp-51___heap-buffer-overflow
Auto-generated by pyspider at 2019-07-11 09:34:29
please send email to teamseri0us360@gmail.com if you have any questions.
### input
[input](https://github.com/zhanggenex/poc/blob/master/bento4/mp4compact/AP4_RtpAtom::AP4_RtpAtom%40Ap4RtpAtom.cpp-51___heap-buffer-overflow)
## AP4_AvccAtom::AP4_AvccAtom@Ap4AvccAtom.cpp-165___heap-buffer-overflow
### description
An issue was discovered in bento4 1.5.1.0, There is a/an heap-buffer-overflow in function AP4_AvccAtom::AP4_AvccAtom at Ap4AvccAtom.cpp-165
### commandline
mp4compact --verbose @@ a.mp4
### source
```c
161 cursor += param_length;
162 }
163 }
164 }
165 AP4_UI08 num_pic_params = payload[cursor++];
166 m_PictureParameters.EnsureCapacity(num_pic_params);
167 for (unsigned int i=0; i<num_pic_params; i++) {
168 if (cursor+2 <= payload_size) {
169 AP4_UI16 param_length = AP4_BytesToInt16BE(&payload[cursor]);
170 cursor += 2;
```
### bug report
```txt
=================================================================
==19872==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60200000ef9c at pc 0x0000005048e0 bp 0x7fff67ebef30 sp 0x7fff67ebef20
READ of size 1 at 0x60200000ef9c thread T0
#0 0x5048df in AP4_AvccAtom::AP4_AvccAtom(unsigned int, unsigned char const*) /src/bento4/Source/C++/Core/Ap4AvccAtom.cpp:165
#1 0x505662 in AP4_AvccAtom::Create(unsigned int, AP4_ByteStream&) /src/bento4/Source/C++/Core/Ap4AvccAtom.cpp:95
#2 0x45092f in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /src/bento4/Source/C++/Core/Ap4AtomFactory.cpp:502
#3 0x45425d in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /src/bento4/Source/C++/Core/Ap4AtomFactory.cpp:221
#4 0x45425d in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, AP4_Atom*&) /src/bento4/Source/C++/Core/Ap4AtomFactory.cpp:151
#5 0x4a5886 in AP4_Processor::Process(AP4_ByteStream&, AP4_ByteStream&, AP4_ByteStream*, AP4_Processor::ProgressListener*, AP4_AtomFactory&) /src/bento4/Source/C++/Core/Ap4Processor.cpp:441
#6 0x43e7a0 in main /src/bento4/Source/C++/Apps/Mp4Compact/Mp4Compact.cpp:220
#7 0x7f9dba4ef82f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
#8 0x441d88 in _start (/src/aflbuild/installed/bin/mp4compact+0x441d88)
0x60200000ef9c is located 0 bytes to the right of 12-byte region [0x60200000ef90,0x60200000ef9c)
allocated by thread T0 here:
#0 0x7f9dbaeca6b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x5aeb46 in AP4_DataBuffer::AP4_DataBuffer(unsigned int) /src/bento4/Source/C++/Core/Ap4DataBuffer.cpp:55
#2 0xb (<unknown module>)
SUMMARY: AddressSanitizer: heap-buffer-overflow /src/bento4/Source/C++/Core/Ap4AvccAtom.cpp:165 AP4_AvccAtom::AP4_AvccAtom(unsigned int, unsigned char const*)
Shadow bytes around the buggy address:
0x0c047fff9da0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9db0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9dc0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9dd0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9de0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa 00 04
=>0x0c047fff9df0: fa fa 00[04]fa fa 00 00 fa fa 00 00 fa fa 00 00
0x0c047fff9e00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9e10: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9e20: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9e30: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9e40: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
Addressable: 00
Partially addressable: 01 02 03 04 05 06 07
Heap left redzone: fa
Heap right redzone: fb
Freed heap region: fd
Stack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
Stack partial redzone: f4
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
==19872==ABORTING
```
### others
from fuzz project pwd-bento4-mp4compact-01
crash name AP4_AvccAtom::AP4_AvccAtom@Ap4AvccAtom.cpp-165___heap-buffer-overflow
Auto-generated by pyspider at 2019-07-13 21:51:25
please send email to teamseri0us360@gmail.com if you have any questions.
### input
[input](https://github.com/zhanggenex/poc/blob/master/bento4/mp4compact/AP4_AvccAtom::AP4_AvccAtom%40Ap4AvccAtom.cpp-165___heap-buffer-overflow)
| 3 potential vulerabilities | https://api.github.com/repos/axiomatic-systems/Bento4/issues/409/comments | 0 | 2019-07-31T05:24:56Z | 2019-08-25T16:24:01Z | https://github.com/axiomatic-systems/Bento4/issues/409 | 474,942,702 | 409 |
[
"axiomatic-systems",
"Bento4"
] | # bento4
## version
bento4 1.5.1.0
## description
```txt
mp42acc 1.0
```
## download link
https://www.bento4.com/
## others
please send email to teamseri0us360@gmail.com if you have any questions.
---------------------
## (1) AP4_BitReader::SkipBits@Ap4Utils.cpp-548___heap-buffer-overflow
### description
An issue was discovered in bento4 1.5.1.0, There is a/an heap-buffer-overflow in function AP4_BitReader::SkipBits at Ap4Utils.cpp-548
### commandline
mp42aac @@ a.aac
### source
```c
544 m_BitsCached = AP4_WORD_BITS-n;
545 m_Position += AP4_WORD_BYTES;
546 } else {
547 m_BitsCached = 0;
548 m_Cache = 0;
549 }
550 }
551 }
552
553 /*----------------------------------------------------------------------
```
### bug report
```txt
=================================================================
==26617==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60400000de7c at pc 0x0000004867b1 bp 0x7ffc1efd5fc0 sp 0x7ffc1efd5fb0
READ of size 4 at 0x60400000de7c thread T0
#0 0x4867b0 in AP4_BitReader::SkipBits(unsigned int) /src/bento4/Source/C++/Core/Ap4Utils.cpp:548
#1 0x5bb555 in AP4_Dac4Atom::AP4_Dac4Atom(unsigned int, unsigned char const*) /src/bento4/Source/C++/Core/Ap4Dac4Atom.cpp:174
#2 0x5bc562 in AP4_Dac4Atom::Create(unsigned int, AP4_ByteStream&) /src/bento4/Source/C++/Core/Ap4Dac4Atom.cpp:56
#3 0x57e158 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /src/bento4/Source/C++/Core/Ap4AtomFactory.cpp:724
#4 0x582669 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /src/bento4/Source/C++/Core/Ap4AtomFactory.cpp:221
#5 0x5735f8 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /src/bento4/Source/C++/Core/Ap4ContainerAtom.cpp:194
#6 0x521289 in AP4_SampleEntry::Read(AP4_ByteStream&, AP4_AtomFactory&) /src/bento4/Source/C++/Core/Ap4SampleEntry.cpp:115
#7 0x521289 in AP4_AudioSampleEntry::AP4_AudioSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /src/bento4/Source/C++/Core/Ap4SampleEntry.cpp:420
#8 0x57c49a in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /src/bento4/Source/C++/Core/Ap4AtomFactory.cpp:324
#9 0x582669 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /src/bento4/Source/C++/Core/Ap4AtomFactory.cpp:221
#10 0x53034e in AP4_StsdAtom::AP4_StsdAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /src/bento4/Source/C++/Core/Ap4StsdAtom.cpp:101
#11 0x532124 in AP4_StsdAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /src/bento4/Source/C++/Core/Ap4StsdAtom.cpp:57
#12 0x57e3fb in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /src/bento4/Source/C++/Core/Ap4AtomFactory.cpp:424
#13 0x582669 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /src/bento4/Source/C++/Core/Ap4AtomFactory.cpp:221
#14 0x5712f9 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /src/bento4/Source/C++/Core/Ap4ContainerAtom.cpp:194
#15 0x5712f9 in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /src/bento4/Source/C++/Core/Ap4ContainerAtom.cpp:139
#16 0x57212e in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /src/bento4/Source/C++/Core/Ap4ContainerAtom.cpp:88
#17 0x57b67e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /src/bento4/Source/C++/Core/Ap4AtomFactory.cpp:764
#18 0x582669 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /src/bento4/Source/C++/Core/Ap4AtomFactory.cpp:221
#19 0x472604 in AP4_DrefAtom::AP4_DrefAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /src/bento4/Source/C++/Core/Ap4DrefAtom.cpp:84
#20 0x472af7 in AP4_DrefAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /src/bento4/Source/C++/Core/Ap4DrefAtom.cpp:50
#21 0x57d243 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /src/bento4/Source/C++/Core/Ap4AtomFactory.cpp:535
#22 0x582669 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /src/bento4/Source/C++/Core/Ap4AtomFactory.cpp:221
#23 0x5712f9 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /src/bento4/Source/C++/Core/Ap4ContainerAtom.cpp:194
#24 0x5712f9 in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /src/bento4/Source/C++/Core/Ap4ContainerAtom.cpp:139
#25 0x57212e in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /src/bento4/Source/C++/Core/Ap4ContainerAtom.cpp:88
#26 0x57b67e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /src/bento4/Source/C++/Core/Ap4AtomFactory.cpp:764
#27 0x582669 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /src/bento4/Source/C++/Core/Ap4AtomFactory.cpp:221
#28 0x5712f9 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /src/bento4/Source/C++/Core/Ap4ContainerAtom.cpp:194
#29 0x5712f9 in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /src/bento4/Source/C++/Core/Ap4ContainerAtom.cpp:139
#30 0x57212e in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /src/bento4/Source/C++/Core/Ap4ContainerAtom.cpp:88
#31 0x57b67e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /src/bento4/Source/C++/Core/Ap4AtomFactory.cpp:764
#32 0x582669 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /src/bento4/Source/C++/Core/Ap4AtomFactory.cpp:221
#33 0x5712f9 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /src/bento4/Source/C++/Core/Ap4ContainerAtom.cpp:194
#34 0x5712f9 in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /src/bento4/Source/C++/Core/Ap4ContainerAtom.cpp:139
#35 0x57212e in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /src/bento4/Source/C++/Core/Ap4ContainerAtom.cpp:88
#36 0x57b67e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /src/bento4/Source/C++/Core/Ap4AtomFactory.cpp:764
#37 0x582669 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /src/bento4/Source/C++/Core/Ap4AtomFactory.cpp:221
#38 0x5712f9 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /src/bento4/Source/C++/Core/Ap4ContainerAtom.cpp:194
#39 0x5712f9 in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /src/bento4/Source/C++/Core/Ap4ContainerAtom.cpp:139
#40 0x46d252 in AP4_TrakAtom::AP4_TrakAtom(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /src/bento4/Source/C++/Core/Ap4TrakAtom.cpp:165
#41 0x57de8a in AP4_TrakAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /src/bento4/Source/C++/Core/Ap4TrakAtom.h:58
#42 0x57de8a in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /src/bento4/Source/C++/Core/Ap4AtomFactory.cpp:379
#43 0x582669 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /src/bento4/Source/C++/Core/Ap4AtomFactory.cpp:221
#44 0x5712f9 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /src/bento4/Source/C++/Core/Ap4ContainerAtom.cpp:194
#45 0x5712f9 in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /src/bento4/Source/C++/Core/Ap4ContainerAtom.cpp:139
#46 0x4fa8dc in AP4_MoovAtom::AP4_MoovAtom(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /src/bento4/Source/C++/Core/Ap4MoovAtom.cpp:80
#47 0x57baf9 in AP4_MoovAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /src/bento4/Source/C++/Core/Ap4MoovAtom.h:56
#48 0x57baf9 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /src/bento4/Source/C++/Core/Ap4AtomFactory.cpp:359
#49 0x58185d in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /src/bento4/Source/C++/Core/Ap4AtomFactory.cpp:221
#50 0x58185d in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, AP4_Atom*&) /src/bento4/Source/C++/Core/Ap4AtomFactory.cpp:151
#51 0x5002c7 in AP4_File::ParseStream(AP4_ByteStream&, AP4_AtomFactory&, bool) /src/bento4/Source/C++/Core/Ap4File.cpp:104
#52 0x5002c7 in AP4_File::AP4_File(AP4_ByteStream&, bool) /src/bento4/Source/C++/Core/Ap4File.cpp:78
#53 0x43ec52 in main /src/bento4/Source/C++/Apps/Mp42Aac/Mp42Aac.cpp:250
#54 0x7f7ea76dd82f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
#55 0x442c18 in _start (/src/aflbuild/installed/bin/mp42aac+0x442c18)
0x60400000de7c is located 0 bytes to the right of 44-byte region [0x60400000de50,0x60400000de7c)
allocated by thread T0 here:
#0 0x7f7ea80b86b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x5071d5 in AP4_DataBuffer::ReallocateBuffer(unsigned int) /src/bento4/Source/C++/Core/Ap4DataBuffer.cpp:210
#2 0x5071d5 in AP4_DataBuffer::SetBufferSize(unsigned int) /src/bento4/Source/C++/Core/Ap4DataBuffer.cpp:136
SUMMARY: AddressSanitizer: heap-buffer-overflow /src/bento4/Source/C++/Core/Ap4Utils.cpp:548 AP4_BitReader::SkipBits(unsigned int)
Shadow bytes around the buggy address:
0x0c087fff9b70: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c087fff9b80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c087fff9b90: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c087fff9ba0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c087fff9bb0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
=>0x0c087fff9bc0: fa fa fa fa fa fa fa fa fa fa 00 00 00 00 00[04]
0x0c087fff9bd0: fa fa 00 00 00 00 00 03 fa fa 00 00 00 00 00 03
0x0c087fff9be0: fa fa 00 00 00 00 00 00 fa fa 00 00 00 00 00 02
0x0c087fff9bf0: fa fa 00 00 00 00 00 00 fa fa 00 00 00 00 00 00
0x0c087fff9c00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c087fff9c10: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
Addressable: 00
Partially addressable: 01 02 03 04 05 06 07
Heap left redzone: fa
Heap right redzone: fb
Freed heap region: fd
Stack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
Stack partial redzone: f4
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
==26617==ABORTING
```
### others
from fuzz project pwd-bento4-mp42aac-00
crash name AP4_BitReader::SkipBits@Ap4Utils.cpp-548___heap-buffer-overflow
Auto-generated by pyspider at 2019-07-16 17:39:41
please send email to teamseri0us360@gmail.com if you have any questions.
### input
[input](https://github.com/zhanggenex/poc/blob/master/bento4/vuln1/AP4_BitReader::SkipBits%40Ap4Utils.cpp-548___heap-buffer-overflow)
## (2) AP4_Dec3Atom::AP4_Dec3Atom@Ap4Dec3Atom.cpp-97___heap-buffer-overflow
### description
An issue was discovered in bento4 1.5.1.0, There is a/an heap-buffer-overflow in function AP4_Dec3Atom::AP4_Dec3Atom at Ap4Dec3Atom.cpp-97
### commandline
mp42aac @@ a.aac
### source
```c
93 m_SubStreams[i].acmod = (payload[1]>>1) & 0x7;
94 m_SubStreams[i].lfeon = (payload[1] ) & 0x1;
95 m_SubStreams[i].num_dep_sub = (payload[2]>>1) & 0xF;
96 if (m_SubStreams[i].num_dep_sub) {
97 m_SubStreams[i].chan_loc = (payload[2]<<7 | payload[3]) & 0x1F;
98 payload += 4;
99 payload_size -= 4;
100 } else {
101 m_SubStreams[i].chan_loc = 0;
102 payload += 3;
```
### bug report
```txt
=================================================================
==858==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60200000eeff at pc 0x000000673435 bp 0x7ffdd9983710 sp 0x7ffdd9983700
READ of size 1 at 0x60200000eeff thread T0
#0 0x673434 in AP4_Dec3Atom::AP4_Dec3Atom(unsigned int, unsigned char const*) /src/bento4/Source/C++/Core/Ap4Dec3Atom.cpp:97
#1 0x673ac8 in AP4_Dec3Atom::Create(unsigned int, AP4_ByteStream&) /src/bento4/Source/C++/Core/Ap4Dec3Atom.cpp:56
#2 0x57ce5f in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /src/bento4/Source/C++/Core/Ap4AtomFactory.cpp:717
#3 0x582669 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /src/bento4/Source/C++/Core/Ap4AtomFactory.cpp:221
#4 0x5735f8 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /src/bento4/Source/C++/Core/Ap4ContainerAtom.cpp:194
#5 0x521289 in AP4_SampleEntry::Read(AP4_ByteStream&, AP4_AtomFactory&) /src/bento4/Source/C++/Core/Ap4SampleEntry.cpp:115
#6 0x521289 in AP4_AudioSampleEntry::AP4_AudioSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /src/bento4/Source/C++/Core/Ap4SampleEntry.cpp:420
#7 0x4e2d5d in AP4_EncaSampleEntry::AP4_EncaSampleEntry(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /src/bento4/Source/C++/Core/Ap4Protection.cpp:74
#8 0x57c570 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /src/bento4/Source/C++/Core/Ap4AtomFactory.cpp:285
#9 0x582669 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /src/bento4/Source/C++/Core/Ap4AtomFactory.cpp:221
#10 0x53034e in AP4_StsdAtom::AP4_StsdAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /src/bento4/Source/C++/Core/Ap4StsdAtom.cpp:101
#11 0x532124 in AP4_StsdAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /src/bento4/Source/C++/Core/Ap4StsdAtom.cpp:57
#12 0x57e3fb in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /src/bento4/Source/C++/Core/Ap4AtomFactory.cpp:424
#13 0x58185d in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /src/bento4/Source/C++/Core/Ap4AtomFactory.cpp:221
#14 0x58185d in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, AP4_Atom*&) /src/bento4/Source/C++/Core/Ap4AtomFactory.cpp:151
#15 0x5002c7 in AP4_File::ParseStream(AP4_ByteStream&, AP4_AtomFactory&, bool) /src/bento4/Source/C++/Core/Ap4File.cpp:104
#16 0x5002c7 in AP4_File::AP4_File(AP4_ByteStream&, bool) /src/bento4/Source/C++/Core/Ap4File.cpp:78
#17 0x43ec52 in main /src/bento4/Source/C++/Apps/Mp42Aac/Mp42Aac.cpp:250
#18 0x7f83e4c7182f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
#19 0x442c18 in _start (/src/aflbuild/installed/bin/mp42aac+0x442c18)
0x60200000eeff is located 0 bytes to the right of 15-byte region [0x60200000eef0,0x60200000eeff)
allocated by thread T0 here:
#0 0x7f83e564c6b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x506326 in AP4_DataBuffer::AP4_DataBuffer(unsigned int) /src/bento4/Source/C++/Core/Ap4DataBuffer.cpp:55
#2 0xe (<unknown module>)
SUMMARY: AddressSanitizer: heap-buffer-overflow /src/bento4/Source/C++/Core/Ap4Dec3Atom.cpp:97 AP4_Dec3Atom::AP4_Dec3Atom(unsigned int, unsigned char const*)
Shadow bytes around the buggy address:
0x0c047fff9d80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9d90: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9da0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9db0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9dc0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
=>0x0c047fff9dd0: fa fa fa fa fa fa fa fa fa fa 00 07 fa fa 00[07]
0x0c047fff9de0: fa fa 00 fa fa fa 01 fa fa fa fd fa fa fa 04 fa
0x0c047fff9df0: fa fa 00 00 fa fa 00 00 fa fa 00 00 fa fa 00 00
0x0c047fff9e00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9e10: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9e20: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
Addressable: 00
Partially addressable: 01 02 03 04 05 06 07
Heap left redzone: fa
Heap right redzone: fb
Freed heap region: fd
Stack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
Stack partial redzone: f4
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
==858==ABORTING
```
### others
from fuzz project pwd-bento4-mp42aac-00
crash name AP4_Dec3Atom::AP4_Dec3Atom@Ap4Dec3Atom.cpp-97___heap-buffer-overflow
Auto-generated by pyspider at 2019-07-17 17:12:37
please send email to teamseri0us360@gmail.com if you have any questions.
### input
[input](https://github.com/zhanggenex/poc/blob/master/bento4/vuln1/AP4_Dec3Atom::AP4_Dec3Atom%40Ap4Dec3Atom.cpp-97___heap-buffer-overflow) | 2 Potential Buffer Overflow Vulnerabilities | https://api.github.com/repos/axiomatic-systems/Bento4/issues/408/comments | 0 | 2019-07-19T06:39:22Z | 2019-08-25T16:24:15Z | https://github.com/axiomatic-systems/Bento4/issues/408 | 470,163,532 | 408 |
[
"axiomatic-systems",
"Bento4"
] | Can i use like this?
mp42hls --hls-version 7 --segment-duration 20 "http://~/video1_1080P" | Can i use remote source? | https://api.github.com/repos/axiomatic-systems/Bento4/issues/407/comments | 1 | 2019-07-17T08:18:33Z | 2019-08-25T16:25:27Z | https://github.com/axiomatic-systems/Bento4/issues/407 | 469,052,073 | 407 |
[
"axiomatic-systems",
"Bento4"
] | I packaged with the following command.
mp42hls --hls-version 7 --segment-duration 20 --segment-duration-threshold 2000 ../vod/1673510cd0345e4c_360P
But the result of stream.m3u8 is "#EXT-X-TARGETDURATION:25"
Please let me know how to correct TARGETDURATION. | mp42hls "--segment-duration" and "--segment-duration-threshold" does not work exactly. | https://api.github.com/repos/axiomatic-systems/Bento4/issues/406/comments | 0 | 2019-07-17T05:55:49Z | 2019-07-17T05:55:49Z | https://github.com/axiomatic-systems/Bento4/issues/406 | 469,000,222 | 406 |
[
"axiomatic-systems",
"Bento4"
] | mp4hls does not support mp42hls's "--segment-duration-threshold"
I'm getting the error message "mp4-hls.py: error: no such option: --segment-duration-threshold"
The command that i tried is "mp4hls --hls-version=7 --segment-duration=20 --segment-duration-threshold 20000 --force --output-dir=$output $vidSD $vidHD"
Also cannot use "--segment-filename-template" and "--segment-url-template" | mp4hls does not support mp42hls's "--segment-duration-threshold" | https://api.github.com/repos/axiomatic-systems/Bento4/issues/405/comments | 0 | 2019-07-17T03:18:39Z | 2019-07-17T05:37:01Z | https://github.com/axiomatic-systems/Bento4/issues/405 | 468,964,914 | 405 |
[
"axiomatic-systems",
"Bento4"
] | Hi,
I was trying to create common segments for both dash and hls and it worked when content is not DRM protected but when passing DRM options to the packaging tool, it doesn't work
Here is the command I've used for segmentation with DRM protection
Dash works but Hls doesn't work as encryption scheme is **cenc** instead of **cbcs**
> mp4dash -v -d -f -o test/segments --mpd-name=manifest.mpd --profiles=live --init-segment=init.mp4 --min-buffer-time=1.5 --encryption-key=@skm:https://api.service.expressplay.com/keystore/keys?customerAuthenticator=xxxxxxxxxxxxxxxxxxx#mode=get&kid=xxxxxxxxxxxxxxxxxxxxx&kek=xxxxxxxxxxxxxx&iv=xxxxxxxxxxxx --marlin --marlin-add-pssh --playready --playready-add-pssh --playready-header=LA_URL:https://pr-gen.service.expressplay.com --widevine --widevine-header provider:intertrust#content_id:2a --use-segment-template-number-padding --use-segment-timeline --subtitles --hls --encryption-cenc-scheme=**cenc** --hls-master-playlist-name=playlist.m3u8 --hls-media-playlist-name=chunk.m3u8 --fairplay-key-uri=skd://expressplay_token test/video_1080p_frag.mp4 test/video_720p_frag.mp4 test/video_480p_frag.mp4 test/video_360p_frag.mp4
Both hls and dash doesn't work, even if encryption scheme is **cbcs**
> mp4dash -v -d -f -o test/segments --mpd-name=manifest.mpd --profiles=live --init-segment=init.mp4 --min-buffer-time=1.5 --encryption-key=@skm:https://api.service.expressplay.com/keystore/keys?customerAuthenticator=xxxxxxxxxxxxxxxxxxx#mode=get&kid=xxxxxxxxxxxxxxxxxxxxx&kek=xxxxxxxxxxxxxx&iv=xxxxxxxxxxxx --marlin --marlin-add-pssh --playready --playready-add-pssh --playready-header=LA_URL:https://pr-gen.service.expressplay.com --widevine --widevine-header provider:intertrust#content_id:2a --use-segment-template-number-padding --use-segment-timeline --subtitles --hls --encryption-cenc-scheme=**cbcs** --hls-master-playlist-name=playlist.m3u8 --hls-media-playlist-name=chunk.m3u8 --fairplay-key-uri=skd://expressplay_token test/video_1080p_frag.mp4 test/video_720p_frag.mp4 test/video_480p_frag.mp4 test/video_360p_frag.mp4
Anyone who can help me with this | Common segmentation for both dash and hls with DRM | https://api.github.com/repos/axiomatic-systems/Bento4/issues/404/comments | 6 | 2019-07-15T10:14:40Z | 2019-09-06T05:03:33Z | https://github.com/axiomatic-systems/Bento4/issues/404 | 468,046,524 | 404 |
[
"axiomatic-systems",
"Bento4"
] | fmp4 with duration in the clear at the start of the content | https://api.github.com/repos/axiomatic-systems/Bento4/issues/403/comments | 2 | 2019-06-18T07:18:08Z | 2019-06-18T08:36:54Z | https://github.com/axiomatic-systems/Bento4/issues/403 | 457,302,212 | 403 | |
[
"axiomatic-systems",
"Bento4"
] | I have an smoothstreaming fragmented .ism/Manifest with ``` <ProtectionHeader SystemID="9a04f079-9840-4286-ab92-e65be0885f95"> ``` . My problem is the downloaded ismv video is missing any encryption data, no PSSH, no KID, no WRMHEADER inside the file when using mp4dump. How can i add that data to file? | Smooth Streaming ismv encryption | https://api.github.com/repos/axiomatic-systems/Bento4/issues/402/comments | 1 | 2019-06-09T19:52:32Z | 2019-08-25T16:29:12Z | https://github.com/axiomatic-systems/Bento4/issues/402 | 453,932,374 | 402 |
[
"axiomatic-systems",
"Bento4"
] | I've encoded videos with ffmpeg
for 1080 @ 30fps
`-pix_fmt yuv420p -s 1920x1080 -c:v libx264 -preset fast -x264-params "rc-lookahead=100:keyint=200:min-keyint=100:hrd=1:vbv_maxrate=12000:vbv_bufsize=12000:no-open-gop=1" -r 30 -crf 30 -force_key_frames "expr:gte(t,n_forced*2)" -codec:a aac -ac 2 -b:a 128k -y `
and for 1080 @ 60fps
`-pix_fmt yuv420p -s 1920x1080 -c:v libx264 -preset fast -x264-params "rc-lookahead=100:keyint=200:min-keyint=100:hrd=1:vbv_maxrate=12000:vbv_bufsize=12000:no-open-gop=1" -r 60 -crf 25 -force_key_frames "expr:gte(t,n_forced*2)" -codec:a aac -ac 2 -b:a 128k -y `
and when i tried to used dash packaging after fragmentation, it gives video sample count mismatch between "File 1#1" and "File 2#1".
What causes this? and how can i fix this problem? | video sample count mismatch between? | https://api.github.com/repos/axiomatic-systems/Bento4/issues/401/comments | 0 | 2019-06-09T10:23:36Z | 2019-06-09T10:23:36Z | https://github.com/axiomatic-systems/Bento4/issues/401 | 453,883,917 | 401 |
[
"axiomatic-systems",
"Bento4"
] | Following
`https://www.bento4.com/developers/dash/encryption-and-drm/`
on a sample video
`https://www.sample-videos.com/video123/mp4/720/big_buck_bunny_720p_1mb.mp4`
I run the following commands
`$ mp4fragment 1.mp4 1.m4f`
`$ mp4dash --widevine-header "#CAESEJA1GVFoa14boiJDns7B8SoaDXdpZGV2aW5lX3Rlc3QiASo=" --encryption-key 90351951686b5e1ba222439ecec1f12a:0a237b0752cbf1a827e2fecfb87479a2 1.m4f`
I then step into `video` or `audio` of `output` and run `mp4dump seg-1.m4s` and get the metadata successfully. However, if I want to extract the encrypted track placed in track `1` with
`mp4dump --track 1 seg-1.m4s` the program crashes on windows and gets segmentation fault on linux. This command works perfectly on the original `mp4` though.
I would like to extract the encrypted payload (without applying the key) and I hope I haven't misunderstood anything.
Thanks in advance | [mp4dump]: Trigger crash on windows and linux | https://api.github.com/repos/axiomatic-systems/Bento4/issues/400/comments | 0 | 2019-06-04T13:59:33Z | 2019-06-04T14:10:35Z | https://github.com/axiomatic-systems/Bento4/issues/400 | 452,014,347 | 400 |
[
"axiomatic-systems",
"Bento4"
] |
I want to make video stream server and backend I am planing to make video fragments process using Bento4's mp4-dash.py Python script to generate the corresponding MPD file needed by clients.
library source - git clone https://github.com/axiomatic-systems/Bento4.git
tutorial source - https://developer.mozilla.org/en-US/docs/Web/API/Media_Source_Extensions_API/Transcoding_assets_for_MSE#Getting_started
but I am getting following errors for following linux batch commands.
I've tried on some changes with batch command but it wont works.
$ python mp4-dash-encode.py -b 5 -v fragmented.mp4
(works successfully )
$ python mp4-dash.py --exec-dir=<path to Bento4 tools> video_0*
(getting error)
Python error: is a directory, cannot continue
ERROR: media file to does not exist
Thanks !
| Creating Content for Dash | https://api.github.com/repos/axiomatic-systems/Bento4/issues/399/comments | 1 | 2019-06-04T06:25:02Z | 2019-08-25T16:42:51Z | https://github.com/axiomatic-systems/Bento4/issues/399 | 451,818,308 | 399 |
[
"axiomatic-systems",
"Bento4"
] | Hello, would you like this as in Mp42Avc.cpp and anothers Mp42...? @barbibulle
Help files found for **VP9**
https://github.com/peak3d/inputstream.adaptive/commit/e016f6b68f81973ce301fcb194df4e4a21143c5e
https://github.com/peak3d/inputstream.adaptive/blob/master/lib/libbento4/Core/Ap4VpcCAtom.h
Thank you for your attention. ☕️ | Request Mp42Vp9.cpp | https://api.github.com/repos/axiomatic-systems/Bento4/issues/398/comments | 1 | 2019-05-26T19:16:47Z | 2019-12-27T12:25:05Z | https://github.com/axiomatic-systems/Bento4/issues/398 | 448,597,326 | 398 |
[
"axiomatic-systems",
"Bento4"
] | `mp4dump` gives me something like:
```
[udta] size=8+154
[meta] size=12+142
[hdlr] size=12+21
handler_type = mdir
handler_name =
[ilst] size=8+101
[.nam] size=8+56
[data] size=8+48
type = 1
lang = 0
value = <snip>
[.too] size=8+29
[data] size=8+21
type = 1
lang = 0
value = Lavf57.83.100
```
`mp4extract moov/udta/ilst ...` works just fine, but `mp4extract moov/udta/ilst/.nam ...` complains that the atom is not found.
Is there something special about the syntax here for accessing atoms with dots in? | Unable to use mp4extract on atom names containing a . | https://api.github.com/repos/axiomatic-systems/Bento4/issues/397/comments | 3 | 2019-05-25T18:32:03Z | 2019-08-25T19:15:43Z | https://github.com/axiomatic-systems/Bento4/issues/397 | 448,490,600 | 397 |
[
"axiomatic-systems",
"Bento4"
] | A memory allocation failure unhandled in Ap4SdpAtom.cpp and leads to crashes.
`./mp42aac input_file /dev/null`
In file Source/C++/Core/Ap4SdpAtom.cpp
<img width="640" alt="image" src="https://user-images.githubusercontent.com/7632714/58334121-73c1dd80-7e71-11e9-88a2-c9fbd2129068.png">
AP4_SdpAtom allocate a new buffer to parse the atom in the stream.
The unhandled memory allocation failure cause the read content memcpy to a null pointer.
<img width="553" alt="image" src="https://user-images.githubusercontent.com/7632714/58333799-d23a8c00-7e70-11e9-9bc3-89b928919860.png">
This is the start points.
In file In file Source/C++/Core/Ap4ByteStream.cpp


AP4_CopyMemory is the macro define of memcpy and the path formed.
Asan trace report:
> ==79431==AddressSanitizer CHECK failed: ../../../../../src/libsanitizer/sanitizer_common/sanitizer_allocator.cc:147 "((0)) != (0)" (0x0, 0x0)
#0 0xf725e797 (/usr/lib32/libasan.so.2+0x9f797)
#1 0xf7263a69 in __sanitizer::CheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) (/usr/lib32/libasan.so.2+0xa4a69)
#2 0xf71d507b (/usr/lib32/libasan.so.2+0x1607b)
#3 0xf7261e80 (/usr/lib32/libasan.so.2+0xa2e80)
#4 0xf71da229 (/usr/lib32/libasan.so.2+0x1b229)
#5 0xf7256e16 in operator new[](unsigned int) (/usr/lib32/libasan.so.2+0x97e16)
#6 0x873013b in AP4_SdpAtom::AP4_SdpAtom(unsigned int, AP4_ByteStream&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4SdpAtom.cpp:60
#7 0x82dcab1 in AP4_SdpAtom::Create(unsigned int, AP4_ByteStream&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4SdpAtom.h:54
#8 0x82dcab1 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:595
#9 0x83016d3 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:221
#10 0x82b6bae in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4ContainerAtom.cpp:194
#11 0x82b6bae in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4ContainerAtom.cpp:139
#12 0x82be680 in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4ContainerAtom.cpp:88
#13 0x82dc711 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:764
#14 0x82fa1f7 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:221
#15 0x82fa1f7 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, AP4_Atom*&) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4AtomFactory.cpp:151
#16 0x809a044 in AP4_File::ParseStream(AP4_ByteStream&, AP4_AtomFactory&, bool) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4File.cpp:104
#17 0x809a044 in AP4_File::AP4_File(AP4_ByteStream&, bool) /mnt/data/playground/mp42-a/Source/C++/Core/Ap4File.cpp:78
#18 0x8082ce7 in main /mnt/data/playground/mp42-a/Source/C++/Apps/Mp42Aac/Mp42Aac.cpp:250
#19 0xf69df636 in __libc_start_main (/lib/i386-linux-gnu/libc.so.6+0x18636)
#20 0x808df1b (/mnt/data/playground/mp42-a/Build/mp42aac+0x808df1b)
[input_file.zip](https://github.com/axiomatic-systems/Bento4/files/3217304/input_file.zip)
| Exhaustive memory misunhandle | https://api.github.com/repos/axiomatic-systems/Bento4/issues/396/comments | 0 | 2019-05-24T14:17:26Z | 2019-08-25T16:31:09Z | https://github.com/axiomatic-systems/Bento4/issues/396 | 448,195,676 | 396 |
[
"axiomatic-systems",
"Bento4"
] | Can someone help me to create adaptive HEVC in HLS and Dash, through Bento4 commands | HEVC adaptive HLS & Dash transcoding | https://api.github.com/repos/axiomatic-systems/Bento4/issues/395/comments | 0 | 2019-05-16T13:29:57Z | 2019-05-18T05:40:22Z | https://github.com/axiomatic-systems/Bento4/issues/395 | 444,957,258 | 395 |
[
"axiomatic-systems",
"Bento4"
] | Hi, recently when I experience the new version of bento4. I find an NPD bug in program "mp42aac".
`./mp42acc inputs`
The bug logic is that when the data size is not large enough and apply reallocation, the reallocation does not check whether the new buffer is successfully allocated.
This is the execution trace.
4c7a.png">
<img width="1369" alt="image" src="https://user-images.githubusercontent.com/7632714/58330114-c4810880-7e68-11e9-82e1-cc33671c63dc.png">
In SetDataSize, the function realloc buffer when new size is larger than the current one.
This means the two values of two size variable are not zero.

In reallocation, there is no null pointer check for the return value of the allocation and leads to the crash when apply AP4_CopyMemory which is an alias of memcpy function.

I have uploaded the report and related bug trace to help understand this problem.
[report_input.zip](https://github.com/axiomatic-systems/Bento4/files/3176121/report_input.zip) | Null Pointer Dereference(npd) Bug | https://api.github.com/repos/axiomatic-systems/Bento4/issues/394/comments | 1 | 2019-05-14T06:23:56Z | 2019-08-25T16:30:37Z | https://github.com/axiomatic-systems/Bento4/issues/394 | 443,731,009 | 394 |
[
"axiomatic-systems",
"Bento4"
] | As per the title, is there any current toolbox support for the AV1 and Opus codecs in an MP4 container? (now that most browsers are accepting those for MSE types and codec parameters) | Support for AV1 and Opus codecs in an MP4 container? | https://api.github.com/repos/axiomatic-systems/Bento4/issues/393/comments | 2 | 2019-05-11T15:44:52Z | 2019-05-13T06:02:07Z | https://github.com/axiomatic-systems/Bento4/issues/393 | 443,007,748 | 393 |
[
"axiomatic-systems",
"Bento4"
] | Hi ,
i want to decrypt a encrypted .wmv file , but it's not working ......
###### mp4info.exe encrypted.wmv -->No movie found in the file
###### mp4decrypt --key 1:8d44c220d8487ab9571c843e58c5192a encrypted.wmv out.wmv -->no response
----------------------------------------------------------------------------------------------------------------
> Format : Windows Media
File size : 442 MiB
Duration : 10mn 18s
Overall bit rate : 5 994 Kbps
Maximum Overall bit rate : 6 013 Kbps
Encoded date : UTC 2017-04-28 17:54:18.860
MediaFoundationVersion : 1.112
>Video
ID : 2
Format : PRDY
Format profile : AP@L3
Codec ID : PRDY
Description of the codec : Windows Media Video 9 Advanced Profile
Duration : 10mn 18s
Bit rate : 5 744 Kbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 29.970 fps
Bits/(Pixel*Frame) : 0.092
Stream size : 424 MiB (96%)
>Audio
ID : 1
Format : 5052
Codec ID : 5052
Description of the codec : Windows Media Audio 10 Professional - 256 kbps, 44 kHz, 2 channel 16 bit (A/V) 1-pass CBR
Duration : 10mn 18s
Bit rate : 256 Kbps
Channel(s) : 2 channels
Sampling rate : 44.1 KHz
Bit depth : 16 bits
Stream size : 18.9 MiB (4%)
----------------------------------------------------------------------------------------------------------------
AcquireLicense
`<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><AcquireLicense xmlns="http://schemas.microsoft.com/DRM/2007/03/protocols"><challenge><Challenge xmlns="http://schemas.microsoft.com/DRM/2007/03/protocols/messages"><LA xmlns="http://schemas.microsoft.com/DRM/2007/03/protocols" Id="SignedData" xml:space="preserve"><Version>1</Version><ContentHeader><WRMHEADER xmlns="http://schemas.microsoft.com/DRM/2007/03/PlayReadyHeader" version="4.0.0.0"><DATA><PROTECTINFO><KEYLEN>16</KEYLEN><ALGID>AESCTR</ALGID></PROTECTINFO><KID>x+Or4e+IDzCnv8X0p+O41Q==</KID><LA_URL>http://mediarights.dmm.co.jp/ppv/rightsmanager.asmx</LA_URL><CHECKSUM>HJvSUNyXCl4=</CHECKSUM></DATA></WRMHEADER></ContentHeader><CLIENTINFO><CLIENTVERSION>2.0.0.1446</CLIENTVERSION></CLIENTINFO><RevocationLists><RevListInfo><ListID>ioydTlK2p0WXkWklprR5Hw==</ListID><Version>11</Version></RevListInfo><RevListInfo><ListID>gC4IKKPHsUCCVhnlttibJw==</ListID><Version>11</Version></RevListInfo><RevListInfo><ListID>BOZ1zT1UnEqfCf5tJOi/kA==</ListID><Version>12</Version></RevListInfo><RevListInfo><ListID>Ef/RUojT3U6Ct2jqTCChbA==</ListID><Version>33</Version></RevListInfo></RevocationLists><CustomData>td004sero00281</CustomData><LicenseNonce>GR8kdU9EyPWepBy7i8xKdA==</LicenseNonce> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#" Type="http://www.w3.org/2001/04/xmlenc#Element"><EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"></EncryptionMethod><KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"><EncryptedKey xmlns="http://www.w3.org/2001/04/xmlenc#"><EncryptionMethod Algorithm="http://schemas.microsoft.com/DRM/2007/03/protocols#ecc256"></EncryptionMethod><KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"><KeyName>WMRMServer</KeyName></KeyInfo><CipherData><CipherValue>ks8nnZSAVtyVX7cI5BT5hmHsB/1TWdlOQymSfNE8OxbgLnm83kWreqUybEUm/drds120FPy4IP3Krhe+9G/oM8tVJuCBjA45n0KqP9EgY45uX4SHPDcWzhRBn+5bUhHWyFUGaAQ2N+MjFTmYNoetapIzeWt5cnJXp5qA8u20Vcg=</CipherValue></CipherData></EncryptedKey></KeyInfo><CipherData><CipherValue>3l9uPHW9gW/BPRMjC2OnFaycu9cmKQ6kHPsYKfmACvls0bbi3AmYr/qirHdQHOCz4P+yT3Hwx1yW6Ruj5Qdn4FM5i1fCwarXEaGJoZNYP0zOpS5a9/7uoOO6ZRSTGqZZ1lupZARzuICjsIVs+QYtl3yzHdayCbSzgfV4bddQAiwLY2GlA1DenFGinOj72vq+dHnM5Rpxw/mi60q9A/kadOEBhtzq+XmW4c0Q/NnKhMOPpjanRYBw7P8bLaimJ0Ta5aZONuD39qE9lbjWBGv3Qf1UnVaVr4kY57tupHDXjHshb9P2EnfpQpkSesr3gdqtp/lsZmdj4fNVq8+f4i2uN7NRtvYcUPJt0cqPB8BK66R8LCIbSL+5BYyII9CAjYTOGaG0Ddm3dClPadOMu21AHWIAWIePfuzbC/TR3rK8UZ2yKYuJYOtm6GwoBr02jW6w2gnJTwcoK+SliBhoddFq+bz/inkODjcnJj15FSyKZo7hg6sLAEBJnfPiCN81jBD9MPWo9R7ltXwVhagdr3eBltMay8erKU21fV1nNzTDLawN0IhC/pWRWkFtjCZWvaBB5hmxefOHG2hlgYpQqX97PBk7ScHiItYWPjON8o26+EUAwZcjpGyWkryen6v9Re8Mb40XaeQxdG6StfEjuGtd41zE9/2orakU4NWk7oiKFE5JBwam1bkQ7NQaZMurcB3eXzEPvJ6kLU2b0YcsjsY7gRu5H9TZVqKCOhVyIrvi4WxOXKktfS2OV8iODVLVt1H4VGjI4HW5O8l6Vz0vU24QNVnWYQXT5EUxxB+IVAc/pzhUHZl1NIm0U2p91hmZmjEdkbYRgs2hr1jQm69XD/GTazdb2nCzVDFhnMczXkKLvXoGjPriIBlqVw8kumbUb3ginRC8Lo8Hm0Ott939kIeTuLNA2uezgGTRwHAuAWmdHOrzIf25ExrXpHT6Nek83NaWZGwN9qlSnuH2rTnLg5PMskwjVyflk99LQpvizaOtDU0mPmOuMckaIfeClWwq7MZwXoTeGxesqFUgBzNT0WexprlowuX4nUIXMkeqT3qs9eRAEukPPeg9/Z7gIZluATj9SLYL4EJqScbRlRBjkkgtkQGvNF2mCq7VHTqA6DGlkuFmfIi8JnJgaInaZ8ikmQspAmnQWVlbrBEHv+WhIa23YAnp9aN6IXAvctasCDN81lyJv21bhMBydWZ11OO/Mql8baYN1agENHLfqvUiHDKsda9poc3HCjG6dgTr2y0xts+t8ggoCxo64X7zWLz88lNUby2tmxdCaykwOkfdXu7W+XtE19Ul2LU9b3f3knT9jYTXpXaf2oyR+HLQr4QnsV5z39gDFKN0S42/rxPOSQow4m9sMO6WCD53m5N+jZN0EIpI8P1ywfjS2huvRiYINVf6MOc9FMW1LpdBNS6jJN2GK6pD4petU8T8r12NXhw5Ck5BQPXft3OaZtxi+QRofQgEM4uqcSP01ICFVIBZ/rXsB9rBxz7LHMqAn76cpjysaf9jFm34sA9KcBRiad0Aa3C6e1A/fB2qQHUCv/GAY4bpQWJFIICGq/kIGdlfAnQVRksi2PdWSSqSG7l1ZNIj3Siscyi4RIwvaOoi3EhQFQ9oSRpQgALYp7EfuHA5w1PP3yJFCtQ13jUMK83+xDqEBBkljpxWGOtNJLUgRMthb0YGerAHS33oCsvXSB8EeuZxnJnrIqbt/ryzc+ffo9GmmMExDVz9SW+oQHGx+rvvnClKF2aomBWV3RNUaeajfxXPZcXExsRcabvHNQDzMN+efw94sOOdQ+XgAKShR4cv2NORzjDGJFZ7ATBx4IWbHKA6mJix+uVtmXUBHM1gWTicjx33ehyy+MrUEFAr64bvhzTeNe1z/tEiO8g/V4dqohkoEZLJodd01CowvO7nR55SP6XScF5Q1hxT48yLUrAZVpee4nq8qOcCnu2QPg20B11M0QjAyNw5HtRbHPaW9wzjmf5HrjQO/iGQIzN4x+WAvVRqSECeebOi6R4B6yF30/lyCeTvEhvmEAhof5aGylrs1meHOkeiATCKyyO2x1x9NrIrBmUPRbrrGEScPF0ev8xIHBaiMvqj5H7Mw2iP7O3/nb2pv8RDQ9ICxdB3Kxhyo3c5HV0sE5TKppJOebFL/06M9Mns2Yyu+nIPn76X/9Y1/FFPz+yrP2M59rR0UGjvfZUwwP4b47K9Dt+nA9g1WD1eLfXmYgSmJVlLtYR3cSXWqw9An+fgnL00Xxtb4+66QuI4p48prl3tMnvFvBEI33QcWbW9y6Pkh+w1G34Nl/8B3G+m5mFNFCzbOfZYmsNjje/NjLTX6BVlw27c/3tkJuEurTwZWxA+ul0kB5Jf6Smu8mdNAB3jj1DfbgQ82uiiMZ8jjzKJAB/brQQbmAi1CzPHhfD3sHgoivVXTxwNsd8tWm76z37CwmEefp1hXb50Ghsa8kYDCDiZGdcJNhGh5Tx4mitS1/TYdoWQ5yjZo2yndz2NXEtglEEFxI8xdYymNJxBENWlYICRuerccpnHaeMgb/t7CyAdJjINbAHwp9Qzn53nOdyYN74NoNn8uUCxNh08sLaIjlviNcYlV7cb/OTIwd2Ibi1LJZhlfnh/RVh8hyReCVyhwoMokzxZfs53+0nBTfR9DDFzQ3/4DdOQr2cFSmmfJD/YmtEdxI10NeBFIMwpunRNLOW93Z6blLmWF9r/gZUblTjia6j6kH6iI/Z4wvA2A6uo7HoLUMoN9tDLfyPucSL2/qbdVh86kwQ/+ETRYqtXkCk56l996zz5knocCwuedy9TZWdJHYGWIkpjsQfFKXz5EcqYVDnVAfSeaCkgWEkyT5HIPTMsc0hM+3Jgf7z0bEy+fat5zb00YcZqpTcOrriJgutd5ANllbg43mBc/YLoGDub9ST5aoHAI/DxrjXs6D/nd/RwwtWS5ZwG8KixzsQF08L34etBDd8JigZd7qjl7s0s/X/mUpK8ongOsoRIeWfJxXjC5yOmOD3ogTOr/4eQPUepUHj2GM4piF5CWV+mJXcrn7PzmnuD4pT8SxAT6WxxjfNwOJfXYcl04IFI1YW3o39jJW+NJqOSUQajhxbolRRbC1zGSsQ5Yu2hlyojE9neeCZXO5sckRRdAHnomW0fIvP36ntY/Q4a8NxEfJBAI5RNJf4h7fPc9KAotshFpu9+j533flgE8BRLjSEwE1V5aafYBm7zTSXp4ywva39BNyhiyTP/C2DQNrKFM6uos4Pb8YWjtV5Zf8Kzg4Kvjgm1MgfukkCjauRlR2GodxdU2PjuhcmsSQr3i0SrODrQeMftiffil5HwdYbFDq5mHZp1m/yGvCTl8FqmLEVpBzSAWvxBvtq/hAjVQA9O1x6YMsH//B74I0hG3xnO/PaHL134XQ1YXWQxehfOFyfYAAIwu4b7zhDlYreaSjegNZZlzRlKspgm8rKxRw/NkmOWUEhYZ2+7+KpEG2Y87kZ/1SValv91fy7RjguLS9HtTktlRDjVDlL9AZ+c68lX3ITtB54GlvcRo/C8cmR7wXVQUnIr+XieJWc5C98QODofuNUfOqnueYHZip09wnkCENjYVW/tHDnsjSPo/QCma092KDbQ8JZLe9IDcix1mb+iFSr9zUeyPmxpyUImw9WOAr7/+KJ3woDp8Fj5m/8cSzQQD+SqhL7+GCWCEIzxtDTjGnDPfgysZRUFyHLMlWXvBaZQh2Tq/IMw8Pud7M+r1Q+Y3YxYbe46ZBfkyptG36gJRtULtSTW+8g1Pso/vhhIyecj+FCGSeJ/PQrsnTE2QaL62lllCJPvgMd9jg7HVABrUhfb9yCUqVDOD2cLvz0Waux6X+QaKWJaylKBxO0mhkqrGlRbjdS10wdjezZmZF06bhHRJDQ6k28ehcgJeiCltQZQhw8qSqRkcG1HDAn8EttABzA87Ku7qC4m1LU2VqWBNTGyDErmLGC/5U3p87VPXfM6ZY/6jr4pfcIuJpxdYMsz4TsGSNzosxI7GqXsmrmGpGgMC855fVWfmGNCzFlylutFMesPDEtFGP8XKNXDOrbwJ/OaeEz7wwS/cuzxJJg83uvbMtlhyxwEWhAiN6SVWLD8</CipherValue></CipherData></EncryptedData></LA><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo xmlns="http://www.w3.org/2000/09/xmldsig#"><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"></CanonicalizationMethod><SignatureMethod Algorithm="http://schemas.microsoft.com/DRM/2007/03/protocols#ecdsa-sha256"></SignatureMethod><Reference URI="#SignedData"><DigestMethod Algorithm="http://schemas.microsoft.com/DRM/2007/03/protocols#sha256"></DigestMethod><DigestValue>TDOmqCxrkl/w41TEBbGh7QKvvPWvn0l6JGpqL6VERYI=</DigestValue></Reference></SignedInfo><SignatureValue>QAsHFR58y1H0izM4esD7wEao6/Y8sHXs/2BBQXcD/xErpwsC9SlakfOGUZfc1W4DwvMQn7RfjBfs76BS1rDwEQ==</SignatureValue><KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"><KeyValue><ECCKeyValue><PublicKey>OcknoM1JJZ0sgXCUaVx3gFxIzn1vl/11CtxDEsu0g5XjaHt0sSV8dmUOBa5siWLMFmp3maSRlPrWeW8Fl1uPLg==</PublicKey></ECCKeyValue></KeyValue></KeyInfo></Signature></Challenge></challenge></AcquireLicense></soap:Body></soap:Envelope>`
AcquireLicenseResponse
`<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><AcquireLicenseResponse xmlns="http://schemas.microsoft.com/DRM/2007/03/protocols"><AcquireLicenseResult><Response xmlns="http://schemas.microsoft.com/DRM/2007/03/protocols/messages"><LicenseResponse xmlns="http://schemas.microsoft.com/DRM/2007/03/protocols" Id="SignedData"><Version>1</Version><Licenses><License>WE1SAAAAAAOwtZME7FOcS62AgdNvkGgGAAMAAQAAAYIAAgAEAAAAKAACADYAAAAgAAAAOQAAABjYJ2Z4psK+RI+ICK4lWwGnAAMAAgAAAEQAAQASAAAAEAAAAABc3wt5AAAAEwAAAAxczJZ5AAEAMgAAAAwAAAAWAAEANAAAAAoH0AAAADMAAAAKAAEAAwAJAAAA8gABAAoAAACex+Or4e+IDzCnv8X0p+O41QABAAMAgNhokCm3sgArmNBGRMZtItwjyvpjcCoLB9nNhEcO7s4g5rjs3UkzU5pmxzt2ltcp29YbBJgvQItck+zx5dRkYqhSN6iXqD36yCWxmPLpgaOdfExR/UrIkkwnXLBnTwQDzCRrsHQ1zK9jwV5PbgtASyD0DRMkeKrKE+nwlUSc9jiBAAAAKgAAAEwAAQBAveP/xwAmY3cfe9p2y/7e2YhUQRDFmJU9pceOid/buMxVUgdblo2r16+0uioxo0g6NnbI/qCVUE8b4K2UMlN3WAABAAsAAAAcAAEAEFcEsG2I7oqYsRizwCjoUe8=</License></Licenses><LicenseNonce>GR8kdU9EyPWepBy7i8xKdA==</LicenseNonce><ResponseID>ziVQrCziceu8JPeSxcnZl1pBGVIX4YzoPrxan0nGtcc=</ResponseID><SigningCertificateChain>Q0hBSQAAAAEAAAOMAAAAAAAAAAJDRVJUAAAAAQAAAcgAAAE4AAEAAQAAAFgGVC8IwC2EjMb8ECNxYHFVAAAAAAAAAAAAAAALdcGfFvlH5umBau/Gd65KMzX/lBKFFq6UZNYsxiAqD59hN/0AAAAAAAAAAAAAAAAAAAAAAAABAA8AAAAMAAAALQABAAUAAAAQAAAAAQAAAAwAAQAGAAAAYAAAAAEAAQIAAAAAACWj3LqnUPp6+C+0rUQ7OShB5kUoAaH2KeQKxa9oMVEyA+uK52+zdLHDbPrbJ6i7W6WtBgUyKsMdaSRfY4Uj9AIAAAACAAAAAQAAABQAAAAHAAAAVAAAAAAAAAAMRE1NLmNvbSBMTEMAAAAAKFBsYXlSZWFkeSBTZXJ2ZXIgRGVwbG95bWVudCBDZXJ0aWZpY2F0ZQAAAAAGNDI2NzAAAAAAAQAIAAAAkAABAEBsUdbY2Yglf8z24JGSBdcyP/p6POyZ/VcBRP/QLIzLlrtgjgxqwdYLuPGJ55C5oXZxGCQ9B1sOKYY9F46y71ecAAACAM0d13P6iIdFkoybUizDzLm5QfInUr+PNNpZTi9EoyFFde1HWSvvOyYxDOF8tSuCj4leP4Mn83XJm8MLDEZ8RiZDRVJUAAAAAQAAAbAAAAEgAAEAAQAAAFiaCgs2MrtFMaNrM41ZkfRvAAAAAAAAAAAAAAAE9ohU9a1KaJyI9bUwqwaVxBOo7R4xS+gG8Hv0ESdBtnz/////AAAAAAAAAAAAAAAAAAAAAAABAAUAAAAMAAAAAAABAAYAAABgAAAAAQABAgAAAAAAzR3Xc/qIh0WSjJtSLMPMublB8idSv4802llOL0SjIUV17UdZK+87JjEM4Xy1K4KPiV4/gyfzdcmbwwsMRnxGJgAAAAIAAAABAAAADwAAAAcAAABMAAAAAAAAAApNaWNyb3NvZnQAAAAAAAAdUGxheVJlYWR5IFNMMCBTZXJ2ZXIgUm9vdCBDQQAAAAAAAAAIMS4wLjAuMQAAAQAIAAAAkAABAEA6OPlVasx9gd4f7dnZoS2EoWubrKGikufmx2HD30bycFu5p31Yw69YLVkeSVF2GEO1/TtRL9juw0D2wEtCl9/zAAACAIZNYc/yJW5CLFaLPCgAHPs+FSdlhYS6BSG3mxgo2TbeHYJqj8Pm5/p6kNXKKUbx9kou+59dz/5+Q060QpP6xas=</SigningCertificateChain></LicenseResponse><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo xmlns="http://www.w3.org/2000/09/xmldsig#"><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"></CanonicalizationMethod><SignatureMethod Algorithm="http://schemas.microsoft.com/DRM/2007/03/protocols#ecdsa-sha256"></SignatureMethod><Reference URI="#SignedData"><DigestMethod Algorithm="http://schemas.microsoft.com/DRM/2007/03/protocols#sha256"></DigestMethod><DigestValue>hKjeHH36WfLoNqOtrRKGDreJSXr2udVILBZ2GhBqoFY=</DigestValue></Reference></SignedInfo><SignatureValue>Nzujmq2kjHBzD96u/IlUPGuls2+NETiw9+g63KP+tFaHPLhcwkWt3+V6k7przGRrJbxqjV9PNvmiOLPSN8gslw==</SignatureValue></Signature></Response></AcquireLicenseResult></AcquireLicenseResponse></soap:Body></soap:Envelope>`
And the
> license_key=8d44c220d8487ab9571c843e58c5192a
i received
Thank you ! | No movie found in the file | https://api.github.com/repos/axiomatic-systems/Bento4/issues/392/comments | 2 | 2019-05-07T18:21:38Z | 2019-05-09T18:52:13Z | https://github.com/axiomatic-systems/Bento4/issues/392 | 441,382,263 | 392 |
[
"axiomatic-systems",
"Bento4"
] | add -DAP4_PLATFORM_BYTE_ORDER=AP4_PLATFORM_BYTE_ORDER_LITTLE_ENDIAN | Correction for /Source/C++/Crypto/Ap4AesBlockCipher.cpp | https://api.github.com/repos/axiomatic-systems/Bento4/issues/391/comments | 1 | 2019-04-27T09:22:53Z | 2019-08-25T16:45:48Z | https://github.com/axiomatic-systems/Bento4/issues/391 | 437,924,819 | 391 |
[
"axiomatic-systems",
"Bento4"
] | cmd: `mp42hls $poc`
poc can download [here](https://github.com/lvtao-sec/Pocs/raw/master/bento4-integer-overflow)
version: master head
vuln type: integer and buffer overflow
There is an integer overflow at `Source/C++/Core/Ap4CttsAtom.cpp:80` , which then causes an buffer overflow read bugs at `Source/C++/Core/Ap4CttsAtom.cpp:89`.
```
//buggy code integer overflow
//entry_count can be 0x8000000a when debug, then 0x8000000a*8=0x400000050
//however entry_count is an unsigned int, so the multify result will be 0x50
unsigned char* buffer = new unsigned char[entry_count*8];
//buggy code buffer overflow read, when it read buffer more than 0x50, a buffer overflow read exception will throw by asan.
for (unsigned i=0; i<entry_count; i++) {
m_Entries[i].m_SampleCount = AP4_BytesToUInt32BE(&buffer[i*8 ]);
AP4_UI32 offset = AP4_BytesToUInt32BE(&buffer[i*8+4]);
//if (offset & 0x80000000) {
// use_quicktime_format = true;
// AP4_SI32 noffset = (AP4_SI32)offset;
// if (noffset < quicktime_min_offset) quicktime_min_offset = noffset;
//}
m_Entries[i].m_SampleOffset = offset;
}
```
The following is the debug process.
Integer overflow:
```
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── source:/home/lt/vuln-f[...].cpp+80 ────
75 m_LookupCache.entry_index = 0;
76
77 AP4_UI32 entry_count;
78 stream.ReadUI32(entry_count);
79 m_Entries.SetItemCount(entry_count);
// buffer=0x00007fffffffc4e8 → [...] → <AP4_StdcFileByteStream::~AP4_StdcFileByteStream()+0> push rbp
→ 80 unsigned char* buffer = new unsigned char[entry_count*8];
81 AP4_Result result = stream.Read(buffer, entry_count*8);
82 if (AP4_FAILED(result)) {
83 delete[] buffer;
84 return;
85 }
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── threads ────
[#0] Id 1, Name: "mp42hls", stopped, reason: BREAKPOINT
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── trace ────
[#0] 0x490fc8 → AP4_CttsAtom::AP4_CttsAtom(this=0x60700000dc30, size=0x60, version=0x0, flags=0x0, stream=@0x60400000dfd0)
[#1] 0x490c5a → AP4_CttsAtom::Create(size=0x60, stream=@0x60400000dfd0)
[#2] 0x48ccc3 → AP4_AtomFactory::CreateAtomFromStream(this=0x7fffffffe180, stream=@0x60400000dfd0, type=0x63747473, size_32=0x60, size_64=0x60, atom=@0x7fffffffc990)
[#3] 0x48b20f → AP4_AtomFactory::CreateAtomFromStream(this=0x7fffffffe180, stream=@0x60400000dfd0, bytes_available=@0x7fffffffc9d0, atom=@0x7fffffffc990)
[#4] 0x51319c → AP4_ContainerAtom::ReadChildren(this=0x60700000dd10, atom_factory=@0x7fffffffe180, stream=@0x60400000dfd0, size=0x1c2)
[#5] 0x512c51 → AP4_ContainerAtom::AP4_ContainerAtom(this=0x60700000dd10, type=0x7374626c, size=0x1ca, force_64=0x0, stream=@0x60400000dfd0, atom_factory=@0x7fffffffe180)
[#6] 0x5127de → AP4_ContainerAtom::Create(type=0x7374626c, size=0x1ca, is_full=0x0, force_64=0x0, stream=@0x60400000dfd0, atom_factory=@0x7fffffffe180)
[#7] 0x48e257 → AP4_AtomFactory::CreateAtomFromStream(this=0x7fffffffe180, stream=@0x60400000dfd0, type=0x7374626c, size_32=0x1ca, size_64=0x1ca, atom=@0x7fffffffcf40)
[#8] 0x48b20f → AP4_AtomFactory::CreateAtomFromStream(this=0x7fffffffe180, stream=@0x60400000dfd0, bytes_available=@0x7fffffffcf80, atom=@0x7fffffffcf40)
[#9] 0x51319c → AP4_ContainerAtom::ReadChildren(this=0x60700000de60, atom_factory=@0x7fffffffe180, stream=@0x60400000dfd0, size=0x202)
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
gef➤ p entry_count
$7 = 0x8000000a
gef➤ p entry_count * 8
$8 = 0x50
gef➤
```
Buffer overflow crash
```
==10519==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60700000dc10 at pc 0x000000460f40 bp 0x7fffffffc480 sp 0x7fffffffc470
READ of size 1 at 0x60700000dc10 thread T0
#0 0x460f3f in AP4_BytesToUInt32BE(unsigned char const*) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4Utils.h:78
#1 0x49108a in AP4_CttsAtom::AP4_CttsAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4CttsAtom.cpp:89
#2 0x490c59 in AP4_CttsAtom::Create(unsigned int, AP4_ByteStream&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4CttsAtom.cpp:52
#3 0x48ccc2 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:470
#4 0x48b20e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:232
#5 0x51319b in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:194
#6 0x512c50 in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:139
#7 0x5127dd in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:88
#8 0x48e256 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:775
#9 0x48b20e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:232
#10 0x51319b in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:194
#11 0x512c50 in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:139
#12 0x5127dd in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:88
#13 0x48e256 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:775
#14 0x48b20e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:232
#15 0x51319b in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:194
#16 0x512c50 in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:139
#17 0x5127dd in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:88
#18 0x48e256 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:775
#19 0x48b20e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:232
#20 0x51319b in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:194
#21 0x512c50 in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:139
#22 0x530a80 in AP4_TrakAtom::AP4_TrakAtom(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4TrakAtom.cpp:165
#23 0x48eea1 in AP4_TrakAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4TrakAtom.h:58
#24 0x48c6bb in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:390
#25 0x48b20e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:232
#26 0x48aabd in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, AP4_Atom*&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:152
#27 0x4c9031 in AP4_File::ParseStream(AP4_ByteStream&, AP4_AtomFactory&, bool) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4File.cpp:105
#28 0x4c8c96 in AP4_File::AP4_File(AP4_ByteStream&, bool) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4File.cpp:78
#29 0x45eebd in main /home/lt/vuln-fuzz/program/Bento4/Source/C++/Apps/Mp42Hls/Mp42Hls.cpp:1846
#30 0x7ffff652882f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
#31 0x4549e8 in _start (/home/lt/vuln-fuzz/program/Bento4/asan-build/mp42hls+0x4549e8)
0x60700000dc10 is located 0 bytes to the right of 80-byte region [0x60700000dbc0,0x60700000dc10)
allocated by thread T0 here:
#0 0x7ffff6f036b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x490fd8 in AP4_CttsAtom::AP4_CttsAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4CttsAtom.cpp:80
#2 0x490c59 in AP4_CttsAtom::Create(unsigned int, AP4_ByteStream&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4CttsAtom.cpp:52
#3 0x48ccc2 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:470
#4 0x48b20e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:232
#5 0x51319b in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:194
#6 0x512c50 in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:139
#7 0x5127dd in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:88
#8 0x48e256 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:775
#9 0x48b20e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:232
#10 0x51319b in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:194
#11 0x512c50 in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:139
#12 0x5127dd in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:88
#13 0x48e256 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:775
#14 0x48b20e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:232
#15 0x51319b in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:194
#16 0x512c50 in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:139
#17 0x5127dd in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:88
#18 0x48e256 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:775
#19 0x48b20e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:232
#20 0x51319b in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:194
#21 0x512c50 in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:139
#22 0x530a80 in AP4_TrakAtom::AP4_TrakAtom(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4TrakAtom.cpp:165
#23 0x48eea1 in AP4_TrakAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4TrakAtom.h:58
#24 0x48c6bb in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:390
#25 0x48b20e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:232
#26 0x48aabd in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, AP4_Atom*&) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:152
#27 0x4c9031 in AP4_File::ParseStream(AP4_ByteStream&, AP4_AtomFactory&, bool) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4File.cpp:105
#28 0x4c8c96 in AP4_File::AP4_File(AP4_ByteStream&, bool) /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4File.cpp:78
#29 0x45eebd in main /home/lt/vuln-fuzz/program/Bento4/Source/C++/Apps/Mp42Hls/Mp42Hls.cpp:1846
SUMMARY: AddressSanitizer: heap-buffer-overflow /home/lt/vuln-fuzz/program/Bento4/Source/C++/Core/Ap4Utils.h:78 AP4_BytesToUInt32BE(unsigned char const*)
Shadow bytes around the buggy address:
0x0c0e7fff9b30: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c0e7fff9b40: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c0e7fff9b50: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c0e7fff9b60: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c0e7fff9b70: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00
=>0x0c0e7fff9b80: 00 00[fa]fa fa fa 00 00 00 00 00 00 00 00 00 fa
0x0c0e7fff9b90: fa fa fa fa 00 00 00 00 00 00 00 00 00 00 fa fa
0x0c0e7fff9ba0: fa fa 00 00 00 00 00 00 00 00 00 00 fa fa fa fa
0x0c0e7fff9bb0: 00 00 00 00 00 00 00 00 00 00 fa fa fa fa 00 00
0x0c0e7fff9bc0: 00 00 00 00 00 00 00 00 fa fa fa fa 00 00 00 00
0x0c0e7fff9bd0: 00 00 00 00 00 00 fa fa fa fa 00 00 00 00 00 00
Shadow byte legend (one shadow byte represents 8 application bytes):
Addressable: 00
Partially addressable: 01 02 03 04 05 06 07
Heap left redzone: fa
Heap right redzone: fb
Freed heap region: fd
Stack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
Stack partial redzone: f4
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
==10519==ABORTING
``` | Integer overflow at Source/C++/Core/Ap4CttsAtom.cpp:80 and buffer overflow at Source/C++/Core/Ap4CttsAtom.cpp:89 | https://api.github.com/repos/axiomatic-systems/Bento4/issues/390/comments | 0 | 2019-04-26T13:44:32Z | 2019-04-26T13:44:32Z | https://github.com/axiomatic-systems/Bento4/issues/390 | 437,680,361 | 390 |
[
"axiomatic-systems",
"Bento4"
] | Hi
In testing the --hls option using mp4dash, I note that the master.m3u8 playlist contains:-
```
# Audio
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio/mp4a",LANGUAGE="en",NAME="English",AUTOSELECT=YES,DEFAULT=YES,URI="audio/en/mp4a/media.m3u8"
# Video
#EXT-X-STREAM-INF:AUDIO="audio/mp4a",AVERAGE-BANDWIDTH=363783,BANDWIDTH=392951,CODECS="avc1.64002A,mp4a.40.2",RESOLUTION=768x432
video/avc1/1/media.m3u8
...
#EXT-X-STREAM-INF:AUDIO="audio/mp4a",AVERAGE-BANDWIDTH=2729394,BANDWIDTH=2945641,CODECS="avc1.64002A,mp4a.40.2",RESOLUTION=1280x720
video/avc1/5/media.m3u8
# I-Frame Playlists
#EXT-X-I-FRAME-STREAM-INF:AVERAGE-BANDWIDTH=265686,BANDWIDTH=287585,CODECS="avc1.64002A",RESOLUTION=768x432,URI="video/avc1/1/media.m3u8"
...
#EXT-X-I-FRAME-STREAM-INF:AVERAGE-BANDWIDTH=2631297,BANDWIDTH=2840275,CODECS="avc1.64002A",RESOLUTION=1280x720,URI="video/avc1/5/media.m3u8"
```
But mp4dash also creates files named iframes.m3u8 which are NOT referenced in this master.m3u8 playlist.
Should the entire # I-Frame Playlists section be REMOVED from the master.m3u8 file generated, or should the URIs within the I-Frames Playlist section be iframes.m3u8 rather than media.m3u8 ???
The iframes.m3u8 files seem unreferenced and unused?
Please advise. | mp4dash HLS not referencing I-Frame playlist? | https://api.github.com/repos/axiomatic-systems/Bento4/issues/388/comments | 3 | 2019-04-25T11:18:04Z | 2019-08-25T16:19:41Z | https://github.com/axiomatic-systems/Bento4/issues/388 | 437,144,501 | 388 |
[
"axiomatic-systems",
"Bento4"
] | Hi, is there any way within the existing toolkit to generate an HLS Playlist from existing DASH MPD?
I realise that we can now concurrently create both MPD and M3U8 manifests using mp4dash, but is there any way to generate an M3U8 manifest (master and media playlists) retrospectively? We already have a library of fMP4 files created for DASH with an MPD manifest only. But now that HLS is supporting fMP4 we'd like to create the M3U8 files only (to use and reference the same fMP4 files).
Is this possible? | Question: regarding HLS Playlist from existing DASH MPD | https://api.github.com/repos/axiomatic-systems/Bento4/issues/387/comments | 0 | 2019-04-22T16:14:10Z | 2019-04-22T16:14:10Z | https://github.com/axiomatic-systems/Bento4/issues/387 | 435,784,907 | 387 |
[
"axiomatic-systems",
"Bento4"
] | POC:
[mp42aac_poc3.zip](https://github.com/axiomatic-systems/Bento4/files/3100089/mp42aac_poc3.zip)
```
# ./mp42aac mp42aac_poc3 /dev/null
==1193==WARNING: AddressSanitizer failed to allocate 0xfffffffffffffffd bytes
==1193==AddressSanitizer's allocator is terminating the process instead of returning 0
==1193==If you don't like this behavior set allocator_may_return_null=1
==1193==AddressSanitizer CHECK failed: ../../../../src/libsanitizer/sanitizer_common/sanitizer_allocator.cc:147 "((0)) != (0)" (0x0, 0x0)
#0 0x7ffff6f0a631 (/usr/lib/x86_64-linux-gnu/libasan.so.2+0xa0631)
#1 0x7ffff6f0f5e3 in __sanitizer::CheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0xa55e3)
#2 0x7ffff6e87425 (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x1d425)
#3 0x7ffff6f0d865 (/usr/lib/x86_64-linux-gnu/libasan.so.2+0xa3865)
#4 0x7ffff6e8cb4d (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x22b4d)
#5 0x7ffff6f0367e in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9967e)
#6 0x6e56ea in AP4_RtpAtom::AP4_RtpAtom(unsigned int, AP4_ByteStream&) /d/prog/Bento4/Source/C++/Core/Ap4RtpAtom.cpp:49
#7 0x65f4a3 in AP4_RtpAtom::Create(unsigned int, AP4_ByteStream&) /d/prog/Bento4/Source/C++/Core/Ap4RtpAtom.h:53
#8 0x65f4a3 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /d/prog/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:654
#9 0x663dfe in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /d/prog/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:231
#10 0x4d71e7 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /d/prog/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:194
#11 0x4d71e7 in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /d/prog/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:139
#12 0x4d7f9e in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /d/prog/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:88
#13 0x65d7cc in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /d/prog/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:774
#14 0x662f82 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /d/prog/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:231
#15 0x662f82 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, AP4_Atom*&) /d/prog/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:151
#16 0x54eaef in AP4_File::ParseStream(AP4_ByteStream&, AP4_AtomFactory&, bool) /d/prog/Bento4/Source/C++/Core/Ap4File.cpp:104
#17 0x54eaef in AP4_File::AP4_File(AP4_ByteStream&, bool) /d/prog/Bento4/Source/C++/Core/Ap4File.cpp:78
#18 0x43ec4f in main /d/prog/Bento4/Source/C++/Apps/Mp42Aac/Mp42Aac.cpp:250
#19 0x7ffff652882f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
#20 0x442fb8 in _start (/d/p/latest/7.mp42aac+0x442fb8)
Aborted
```
```
(gdb) r 'mp42aac_poc3' /dev/null
Starting program: /d/p/justafl/7.mp42aac 'mp42aac_poc3' /dev/null
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Program received signal SIGABRT, Aborted.
0x00007ffff74aa428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
```
This bug was found by [NESA Lab](https://nesa.zju.edu.cn). | excessive memory allocation in AP4_RtpAtom::AP4_RtpAtom | https://api.github.com/repos/axiomatic-systems/Bento4/issues/386/comments | 0 | 2019-04-20T12:02:13Z | 2019-04-20T12:03:25Z | https://github.com/axiomatic-systems/Bento4/issues/386 | 435,390,855 | 386 |
[
"axiomatic-systems",
"Bento4"
] | POC: [mp42aac_poc2.zip](https://github.com/axiomatic-systems/Bento4/files/3100076/mp42aac_poc2.zip)
```
# ./mp42aac mp42aac_poc2 /dev/null
=================================================================
==1166==ERROR: AddressSanitizer: attempting free on address which was not malloc()-ed: 0x60200000ef50 in thread T0
#0 0x7ffff6f03caa in operator delete[](void*) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x99caa)
#1 0x55fafb in AP4_HdlrAtom::~AP4_HdlrAtom() /d/prog/Bento4/Source/C++/Core/Ap4HdlrAtom.h:61
#2 0x55fafb in AP4_HdlrAtom::~AP4_HdlrAtom() /d/prog/Bento4/Source/C++/Core/Ap4HdlrAtom.h:61
#3 0x5b4a77 in AP4_List<AP4_Atom>::DeleteReferences() /d/prog/Bento4/Source/C++/Core/Ap4List.h:476
#4 0x5b4a77 in AP4_AtomParent::~AP4_AtomParent() /d/prog/Bento4/Source/C++/Core/Ap4Atom.cpp:512
#5 0x4d9bc3 in AP4_ContainerAtom::~AP4_ContainerAtom() /d/prog/Bento4/Source/C++/Core/Ap4ContainerAtom.h:48
#6 0x4d9bc3 in AP4_ContainerAtom::~AP4_ContainerAtom() /d/prog/Bento4/Source/C++/Core/Ap4ContainerAtom.h:48
#7 0x5b4a77 in AP4_List<AP4_Atom>::DeleteReferences() /d/prog/Bento4/Source/C++/Core/Ap4List.h:476
#8 0x5b4a77 in AP4_AtomParent::~AP4_AtomParent() /d/prog/Bento4/Source/C++/Core/Ap4Atom.cpp:512
#9 0x54d7ef in AP4_File::~AP4_File() /d/prog/Bento4/Source/C++/Core/Ap4File.cpp:84
#10 0x54d7ef in AP4_File::~AP4_File() /d/prog/Bento4/Source/C++/Core/Ap4File.cpp:88
#11 0x43ef9f in main /d/prog/Bento4/Source/C++/Apps/Mp42Aac/Mp42Aac.cpp:303
#12 0x7ffff652882f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
#13 0x442fb8 in _start (/d/p/latest/7.mp42aac+0x442fb8)
0x60200000ef50 is located 0 bytes inside of 1-byte region [0x60200000ef50,0x60200000ef51)
allocated by thread T0 here:
#0 0x7ffff6f036b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x55ac7f in AP4_String::Assign(char const*, unsigned int) /d/prog/Bento4/Source/C++/Core/Ap4String.cpp:165
#2 0x55ac7f in AP4_String::operator=(char const*) /d/prog/Bento4/Source/C++/Core/Ap4String.cpp:123
SUMMARY: AddressSanitizer: bad-free ??:0 operator delete[](void*)
==1166==ABORTING
```
This bug was found by [NESA Lab](https://nesa.zju.edu.cn). | attempting free on address which was not malloc()-ed in AP4_HdlrAtom::~AP4_HdlrAtom | https://api.github.com/repos/axiomatic-systems/Bento4/issues/385/comments | 0 | 2019-04-20T11:46:59Z | 2019-04-20T11:46:59Z | https://github.com/axiomatic-systems/Bento4/issues/385 | 435,389,421 | 385 |
[
"axiomatic-systems",
"Bento4"
] | POC:
[mp42aac_poc1.zip](https://github.com/axiomatic-systems/Bento4/files/3100037/mp42aac_poc1.zip)
```
# ./mp42aac mp42aac_poc1 /dev/null
=================================================================
==432==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60200000ef4f at pc 0x0000006e5747 bp 0x7fffffffda30 sp 0x7fffffffda20
WRITE of size 1 at 0x60200000ef4f thread T0
#0 0x6e5746 in AP4_RtpAtom::AP4_RtpAtom(unsigned int, AP4_ByteStream&) /d/prog/Bento4/Source/C++/Core/Ap4RtpAtom.cpp:51
#1 0x65f4a3 in AP4_RtpAtom::Create(unsigned int, AP4_ByteStream&) /d/prog/Bento4/Source/C++/Core/Ap4RtpAtom.h:53
#2 0x65f4a3 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /d/prog/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:654
#3 0x663dfe in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /d/prog/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:231
#4 0x4d71e7 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /d/prog/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:194
#5 0x4d71e7 in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /d/prog/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:139
#6 0x69edcc in AP4_MoovAtom::AP4_MoovAtom(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /d/prog/Bento4/Source/C++/Core/Ap4MoovAtom.cpp:80
#7 0x65da09 in AP4_MoovAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /d/prog/Bento4/Source/C++/Core/Ap4MoovAtom.h:56
#8 0x65da09 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /d/prog/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:369
#9 0x662f82 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /d/prog/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:231
#10 0x662f82 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, AP4_Atom*&) /d/prog/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:151
#11 0x54eaef in AP4_File::ParseStream(AP4_ByteStream&, AP4_AtomFactory&, bool) /d/prog/Bento4/Source/C++/Core/Ap4File.cpp:104
#12 0x54eaef in AP4_File::AP4_File(AP4_ByteStream&, bool) /d/prog/Bento4/Source/C++/Core/Ap4File.cpp:78
#13 0x43ec4f in main /d/prog/Bento4/Source/C++/Apps/Mp42Aac/Mp42Aac.cpp:250
#14 0x7ffff652882f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
#15 0x442fb8 in _start (/d/p/latest/7.mp42aac+0x442fb8)
0x60200000ef4f is located 1 bytes to the left of 1-byte region [0x60200000ef50,0x60200000ef51)
allocated by thread T0 here:
#0 0x7ffff6f036b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x6e56ea in AP4_RtpAtom::AP4_RtpAtom(unsigned int, AP4_ByteStream&) /d/prog/Bento4/Source/C++/Core/Ap4RtpAtom.cpp:49
SUMMARY: AddressSanitizer: heap-buffer-overflow /d/prog/Bento4/Source/C++/Core/Ap4RtpAtom.cpp:51 AP4_RtpAtom::AP4_RtpAtom(unsigned int, AP4_ByteStream&)
```
```
# gdb /d/p/normal/7.mp42aac
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /d/p/normal/7.mp42aac...(no debugging symbols found)...done.
(gdb) r 'qsym/7.mp42aac/qsym7_15/crashes/id:000002,sig:06,sync:qsym,src:000541' /dev/null
Starting program: /d/p/normal/7.mp42aac 'qsym/7.mp42aac/qsym7_15/crashes/id:000002,sig:06,sync:qsym,src:000541' /dev/null
ERROR: unable to parse sample description
*** Error in `/d/p/normal/7.mp42aac': free(): invalid next size (fast): 0x00000000007220b0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7ffff74ec7e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x8037a)[0x7ffff74f537a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7ffff74f953c]
/d/p/normal/7.mp42aac(_ZN8AP4_ListI9AP4_TrackE16DeleteReferencesEv+0x6e)[0x462248]
/d/p/normal/7.mp42aac(_ZN9AP4_MovieD1Ev+0x29)[0x461a7b]
/d/p/normal/7.mp42aac(_ZN9AP4_MovieD0Ev+0x18)[0x461b18]
/d/p/normal/7.mp42aac(_ZN8AP4_FileD1Ev+0x45)[0x45226d]
/d/p/normal/7.mp42aac(_ZN8AP4_FileD0Ev+0x18)[0x4522e6]
/d/p/normal/7.mp42aac(main+0x3af)[0x450cb6]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7ffff7495830]
/d/p/normal/7.mp42aac(_start+0x29)[0x450159]
======= Memory map: ========
00400000-0050c000 r-xp 00000000 08:12 181141514 /d/p/normal/7.mp42aac
0070b000-0070c000 r--p 0010b000 08:12 181141514 /d/p/normal/7.mp42aac
0070c000-0070d000 rw-p 0010c000 08:12 181141514 /d/p/normal/7.mp42aac
0070d000-0073f000 rw-p 00000000 00:00 0 [heap]
7ffff0000000-7ffff0021000 rw-p 00000000 00:00 0
7ffff0021000-7ffff4000000 ---p 00000000 00:00 0
7ffff716c000-7ffff7274000 r-xp 00000000 00:49 93 /lib/x86_64-linux-gnu/libm-2.23.so
7ffff7274000-7ffff7473000 ---p 00108000 00:49 93 /lib/x86_64-linux-gnu/libm-2.23.so
7ffff7473000-7ffff7474000 r--p 00107000 00:49 93 /lib/x86_64-linux-gnu/libm-2.23.so
7ffff7474000-7ffff7475000 rw-p 00108000 00:49 93 /lib/x86_64-linux-gnu/libm-2.23.so
7ffff7475000-7ffff7635000 r-xp 00000000 00:49 39 /lib/x86_64-linux-gnu/libc-2.23.so
7ffff7635000-7ffff7835000 ---p 001c0000 00:49 39 /lib/x86_64-linux-gnu/libc-2.23.so
7ffff7835000-7ffff7839000 r--p 001c0000 00:49 39 /lib/x86_64-linux-gnu/libc-2.23.so
7ffff7839000-7ffff783b000 rw-p 001c4000 00:49 39 /lib/x86_64-linux-gnu/libc-2.23.so
7ffff783b000-7ffff783f000 rw-p 00000000 00:00 0
7ffff783f000-7ffff7855000 r-xp 00000000 00:49 89 /lib/x86_64-linux-gnu/libgcc_s.so.1
7ffff7855000-7ffff7a54000 ---p 00016000 00:49 89 /lib/x86_64-linux-gnu/libgcc_s.so.1
7ffff7a54000-7ffff7a55000 rw-p 00015000 00:49 89 /lib/x86_64-linux-gnu/libgcc_s.so.1
7ffff7a55000-7ffff7bc7000 r-xp 00000000 00:49 86 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
7ffff7bc7000-7ffff7dc7000 ---p 00172000 00:49 86 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
7ffff7dc7000-7ffff7dd1000 r--p 00172000 00:49 86 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
7ffff7dd1000-7ffff7dd3000 rw-p 0017c000 00:49 86 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
7ffff7dd3000-7ffff7dd7000 rw-p 00000000 00:00 0
7ffff7dd7000-7ffff7dfd000 r-xp 00000000 00:49 32 /lib/x86_64-linux-gnu/ld-2.23.so
7ffff7feb000-7ffff7ff1000 rw-p 00000000 00:00 0
7ffff7ff7000-7ffff7ff8000 rw-p 00000000 00:00 0
7ffff7ff8000-7ffff7ffa000 r--p 00000000 00:00 0 [vvar]
7ffff7ffa000-7ffff7ffc000 r-xp 00000000 00:00 0 [vdso]
7ffff7ffc000-7ffff7ffd000 r--p 00025000 00:49 32 /lib/x86_64-linux-gnu/ld-2.23.so
7ffff7ffd000-7ffff7ffe000 rw-p 00026000 00:49 32 /lib/x86_64-linux-gnu/ld-2.23.so
7ffff7ffe000-7ffff7fff000 rw-p 00000000 00:00 0
7ffffffde000-7ffffffff000 rw-p 00000000 00:00 0 [stack]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
Program received signal SIGABRT, Aborted.
0x00007ffff74aa428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
54 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) exploitable
__main__:99: UserWarning: GDB v7.11 may not support required Python API
Description: Heap error
Short description: HeapError (10/22)
Hash: f5ba253ff8232a34779283f951969cd1.738b535f8cc383619cd5f88619f0a80c
Exploitability Classification: EXPLOITABLE
Explanation: The target's backtrace indicates that libc has detected a heap error or that the target was executing a heap function when it stopped. This could be due to heap corruption, passing a bad pointer to a heap function such as free(), etc. Since heap errors might include buffer overflows, use-after-free situations, etc. they are generally considered exploitable.
Other tags: AbortSignal (20/22)
```
This bug was found by [NESA Lab](https://nesa.zju.edu.cn/). | heap buffer overflow in AP4_RtpAtom::AP4_RtpAtom | https://api.github.com/repos/axiomatic-systems/Bento4/issues/384/comments | 0 | 2019-04-20T10:56:44Z | 2019-04-20T11:17:45Z | https://github.com/axiomatic-systems/Bento4/issues/384 | 435,385,024 | 384 |
[
"axiomatic-systems",
"Bento4"
] | Hey, guys.
Firstly, huge thanks for your great job.
But we have an issue described [here](https://stackoverflow.com/questions/55481429/mp4fragment-reduces-video-file-duration).
Sorry for duplication in advance.
Trying to create fragmented MP4 file from a non-fragmented one via command
mp4fragment --fragment-duration 10000 5ca31321e4b068348e2220a9-480p.mp4 5ca31321e4b068348e2220a9-480p.mp4_fragmented
But got media with incorrect duration of **2880000** ms (~ 48 minutes)
mediainfo --Inform=file:///var/cache/tomcat/temp/SC2024943881495774878TMP 5ca31321e4b068348e2220a9-480p.mp4_fragmented
CompleteName=5ca31321e4b068348e2220a9-480p.mp4_fragmented
> Duration=2880000
Width=848
Height=480
BitRate=1099968
VideoId=1
AspectRatio=1.767
Language_3=
The original media file duration is **2880040**:
mediainfo --Inform=file:///var/cache/tomcat/temp/SC2024943881495774878TMP 5ca31321e4b068348e2220a9-480p.mp4
> Duration=2880040
Width=640
Height=360
BitRate=800000
VideoId=1
AspectRatio=1.778
Language_3=
| mp4fragment reduces video file duration | https://api.github.com/repos/axiomatic-systems/Bento4/issues/382/comments | 1 | 2019-04-02T18:36:00Z | 2019-05-04T21:19:38Z | https://github.com/axiomatic-systems/Bento4/issues/382 | 428,380,147 | 382 |
[
"axiomatic-systems",
"Bento4"
] | If I package to make CMAF content by using below command,
`.\mp4dash.bat .\sintel_480_frag.mp4 --hls [+format=webvtt,+language=en]D:\contents\SAMPLE_SINTEL\sintel_en.vtt [+format=webvtt,+language=de]D:\contents\SAMPLE_SINTEL\sintel_de.vtt`
there is no m3u8 file of subtitle.
So player doesn't show the subtitles in HLS.
If I use 'mp4hls' tool, then it works well.
The test was in Windows 10. | Playback with subtitle has issue when doing packaging CMAF(dash + hls) | https://api.github.com/repos/axiomatic-systems/Bento4/issues/381/comments | 0 | 2019-03-26T09:58:44Z | 2019-03-26T09:58:44Z | https://github.com/axiomatic-systems/Bento4/issues/381 | 425,322,132 | 381 |
[
"axiomatic-systems",
"Bento4"
] | I used this command for stream creation : "python2 mp4-dash.py --hls --fairplay-key-uri="skd://one?cek=ca864f218fa006bb7e59a35e110551e4&iv=890fb300266e05646dd3e37aa9e42967" --encryption-cenc-scheme=cbcs --encryption-key=ca864f218fa006bb7e59a35e110551e4:ca864f218fa006bb7e59a35e110551e4:890fb300266e05646dd3e37aa9e42967 frag_video.mp4"
But on trying to play the stream created, the master m3u8 and one media playlist are downloaded, after which the player stops and nothing plays. | HEVC with fairplay stream creation | https://api.github.com/repos/axiomatic-systems/Bento4/issues/379/comments | 4 | 2019-03-21T13:58:11Z | 2019-03-25T20:40:15Z | https://github.com/axiomatic-systems/Bento4/issues/379 | 423,742,842 | 379 |
[
"axiomatic-systems",
"Bento4"
] | Hi,
I have an issue with mp4Fragment command.
I try to change the timescale of my input file to set it to 1000 (instead of 11988) like this:
`mp4fragment --timescale 1000 --fragment-duration 2000 video.mp4 video.fragmented.mp4`
Input : video.mp4 have a timescale of 11988, **constant frame rate mode** and a 23.976 frame rate.
Output : video.fragmented.mp4 have a timescale of 1000, 23.976 frame rate but a **variable frame rate mode**.
I need to keep a constant frame rate mode (like the input file) and a timescale of 1000.
After a quick code check it seems than it can be related to some timestamp value approximation due to 23.976 frame rate value and timescale of 11988.
video.mp4 (mp4info command)
-----------------------------
`mp4info video.mp4
File:
major brand: isom
minor version: 1
compatible brand: isom
compatible brand: avc1
fast start: yes
Movie:
duration: 1357483 ms
time scale: 600
fragments: no
Found 2 Tracks
Track 1:
flags: 1 ENABLED
id: 1
type: Video
duration: 1357398 ms
language: und
media:
sample count: 32545
**timescale: 11988**
duration: 16272500 (media timescale units)
duration: 1357399 (ms)
bitrate (computed): 1496.362 Kbps
display width: 960.000000
display height: 540.000000
frame rate (computed): 23.976
Sample Description 0
Coding: avc1 (H.264)
Width: 960
Height: 540
Depth: 24
AVC Profile: 100 (High)
AVC Profile Compat: 0
AVC Level: 31
AVC NALU Length Size: 4
AVC SPS: [6764001facd940f0117ee1000003007d0000176a0f183196]
AVC PPS: [68ebecb22c]
Codecs String: avc1.64001F
Track 2:
flags: 1 ENABLED
id: 2
type: Audio
duration: 1357483 ms
language: und
media:
sample count: 58462
timescale: 44100
duration: 59865088 (media timescale units)
duration: 1357485 (ms)
bitrate (computed): 128.305 Kbps
Sample Description 0
Coding: mp4a (MPEG-4 Audio)
Stream Type: Audio
Object Type: MPEG-4 Audio
Max Bitrate: 161288
Avg Bitrate: 128304
Buffer Size: 1305
Codecs String: mp4a.40.2
MPEG-4 Audio Object Type: 2 (AAC Low Complexity)
MPEG-4 Audio Decoder Config:
Sampling Frequency: 44100
Channels: 2
Sample Rate: 44100
Sample Size: 16
Channels: 2`
video.mp4 (mediainfo command)
-----------------------------
`General
Complete name : video.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/avc1)
File size : 264 MiB
Duration : 22 min 37 s
Overall bit rate mode : Variable
Overall bit rate : 1 628 kb/s
Encoded date : UTC 2019-03-11 18:31:41
Tagged date : UTC 2019-03-11 18:31:41
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.1
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, RefFrames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 22 min 37 s
Bit rate : 1 500 kb/s
Maximum bit rate : 5 321 kb/s
Width : 960 pixels
Height : 540 pixels
Display aspect ratio : 16:9
**Frame rate mode : Constant**
Frame rate : 23.976 (23976/1000) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.121
Stream size : 242 MiB (92%)
Title : 264@GPAC0.7.1-rev0-g440d475f1-heads/v0.7.1
Writing library : x264 core 157 r2935 545de2f
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=17 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / stitchable=1 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=48 / keyint_min=25 / scenecut=0 / intra_refresh=0 / rc_lookahead=40 / rc=abr / mbtree=1 / bitrate=1500 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Encoded date : UTC 2019-03-11 18:31:41
Tagged date : UTC 2019-03-11 18:31:42
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : mp4a-40-2
Duration : 22 min 37 s
Bit rate mode : Variable
Bit rate : 128 kb/s
Maximum bit rate : 161 kb/s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 kHz
Frame rate : 43.066 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 20.8 MiB (8%)
Title : aac@GPAC0.7.1-rev0-g440d475f1-heads/v0.7.1
Encoded date : UTC 2019-03-11 18:31:42
Tagged date : UTC 2019-03-11 18:31:42`
video.fragmented.mp4 (mp4info command)
-----------------------------
`mp4info video.fragmented.mp4
File:
major brand: isom
minor version: 1
compatible brand: isom
compatible brand: avc1
compatible brand: iso5
fast start: yes
Movie:
duration: 1357483 ms
time scale: 1000
fragments: yes
Found 2 Tracks
Track 1:
flags: 7 ENABLED IN-MOVIE IN-PREVIEW
id: 1
type: Video
duration: 1357398 ms
language: und
media:
sample count: 0
**timescale: 1000**
duration: 0 (media timescale units)
duration: 0 (ms)
bitrate (computed): 1496.362 Kbps
sample count with fragments: 32545
duration with fragments: 1357399
duration with fragments: 1357399 (ms)
display width: 960.000000
display height: 540.000000
Sample Description 0
Coding: avc1 (H.264)
Width: 960
Height: 540
Depth: 24
AVC Profile: 100 (High)
AVC Profile Compat: 0
AVC Level: 31
AVC NALU Length Size: 4
AVC SPS: [6764001facd940f0117ee1000003007d0000176a0f183196]
AVC PPS: [68ebecb22c]
Codecs String: avc1.64001F
Track 2:
flags: 7 ENABLED IN-MOVIE IN-PREVIEW
id: 2
type: Audio
duration: 1357483 ms
language: und
media:
sample count: 0
timescale: 1000
duration: 0 (media timescale units)
duration: 0 (ms)
bitrate (computed): 128.305 Kbps
sample count with fragments: 58462
duration with fragments: 1357485
duration with fragments: 1357485 (ms)
Sample Description 0
Coding: mp4a (MPEG-4 Audio)
Stream Type: Audio
Object Type: MPEG-4 Audio
Max Bitrate: 161288
Avg Bitrate: 128304
Buffer Size: 1305
Codecs String: mp4a.40.2
MPEG-4 Audio Object Type: 2 (AAC Low Complexity)
MPEG-4 Audio Decoder Config:
Sampling Frequency: 44100
Channels: 2
Sample Rate: 44100
Sample Size: 16
Channels: 2`
video.fragmented.mp4 (mediainfo command)
-----------------------------
General
Complete name : video.fragmented.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/avc1/iso5)
File size : 264 MiB
Duration : 22 min 37 s
Overall bit rate mode : Variable
Overall bit rate : 1 631 kb/s
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.1
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, RefFrames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 22 min 37 s
Bit rate : 1 500 kb/s
Maximum bit rate : 5 321 kb/s
Width : 960 pixels
Height : 540 pixels
Display aspect ratio : 16:9
**Frame rate mode : Variable**
Frame rate : 23.976 (23976/1000) FPS
Minimum frame rate : 23.810 FPS
Maximum frame rate : 24.390 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.121
Stream size : 242 MiB (92%)
Writing library : x264 core 157 r2935 545de2f
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=17 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / stitchable=1 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=48 / keyint_min=25 / scenecut=0 / intra_refresh=0 / rc_lookahead=40 / rc=abr / mbtree=1 / bitrate=1500 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : mp4a-40-2
Duration : 22 min 37 s
Bit rate mode : Variable
Bit rate : 128 kb/s
Maximum bit rate : 161 kb/s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 kHz
Frame rate : 43.066 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 20.8 MiB (8%)
| mp4Fragment : timescale options change constant frame rate mode to variable | https://api.github.com/repos/axiomatic-systems/Bento4/issues/378/comments | 2 | 2019-03-19T07:38:03Z | 2019-04-19T12:38:29Z | https://github.com/axiomatic-systems/Bento4/issues/378 | 422,583,918 | 378 |
[
"axiomatic-systems",
"Bento4"
] | Hello guys,
**I need to write the identical information from an input file to another file**, ie. I need to replicate the `atom`, with the `duration` information,` codec-id` among others, but **without changing the video**, just the information, the input is an encrypted file, and the output does not(same file, input encrypted, output decrypted), but my function changes some information when decrypting, and I would like to write this information from the original file (input) in the output, replacing the output information, how could I do that?
Could you demonstrate in a small example? @barbibulle | How to write information from one file to another? (duration, codec-id and others) | https://api.github.com/repos/axiomatic-systems/Bento4/issues/377/comments | 3 | 2019-03-10T07:53:39Z | 2019-03-23T15:21:00Z | https://github.com/axiomatic-systems/Bento4/issues/377 | 419,157,652 | 377 |
[
"axiomatic-systems",
"Bento4"
] | I have the operation below, I write the output with another, I would like to know how to get the file size that was written in the output.
`AP4_FileByteStream::Create("test_output.mp4", AP4_FileByteStream::STREAM_MODE_WRITE, output);
`
Thanks @barbibulle
Sorry for the simple question ☺️ | Get total output file size | https://api.github.com/repos/axiomatic-systems/Bento4/issues/376/comments | 1 | 2019-03-07T01:22:30Z | 2019-03-07T22:32:54Z | https://github.com/axiomatic-systems/Bento4/issues/376 | 418,084,485 | 376 |
[
"axiomatic-systems",
"Bento4"
] | The source file can be downloaded from this location: https://drive.google.com/open?id=1PdRSCNjDGdmFwIrg2kk7EizBUEYlAMkG
The file contains only a video stream has been fragmented using mp4fragment, output looks as I would expect.
Running `ffprobe -show_frames -of csv -select_streams v fragmented.mp4` shows a consistent PTS as per the original input.
In particular the sequence around from 39.72 appears to be correct.
Running the command `mp42ts --segment 10 --segment-duration-threshold 10000 --pcr-offset 0 --verbose --playlist segment.m3u8 fragmented.mp4 %05d.ts`
returns:
```
Segment 0, duration=9.00, 0 audio samples, 225 video samples
Segment 1, duration=11.64, 0 audio samples, 291 video samples
Segment 2, duration=9.36, 0 audio samples, 234 video samples
Segment 3, duration=9.68, 0 audio samples, 242 video samples
Segment 4, duration=10.48, 0 audio samples, 262 video samples
Segment 5, duration=9.84, 0 audio samples, 246 video samples
Segment 6, duration=10.44, 0 audio samples, 261 video samples
Segment 7, duration=10.56, 0 audio samples, 264 video samples
Segment 8, duration=9.00, 0 audio samples, 225 video samples
Segment 9, duration=10.28, 0 audio samples, 257 video samples
Segment 10, duration=10.72, 0 audio samples, 268 video samples
Segment 11, duration=7.72, 0 audio samples, 194 video samples
Conversion complete, duration=7.72 secs
```
Examining segment 00003.ts `ffprobe -show_frames -of csv -select_streams v 00003.ts` shows a PTS on the last frame of 39.720000
Examining segment 00004.ts `ffprobe -show_frames -of csv -select_streams v 00004.ts` shows a PTS on the first frame of 42.08 - containing 265 frames (note 262 reported above)
This obviously leaves a gap, which is causing some issues.
The remaining segments I have checked appear to be correct and as I would expect with uniform segment boundaries.
Am I missing something here or interpreting it incorrectly?
| mp42ts output missing frames | https://api.github.com/repos/axiomatic-systems/Bento4/issues/375/comments | 1 | 2019-03-05T09:45:23Z | 2019-03-05T23:23:49Z | https://github.com/axiomatic-systems/Bento4/issues/375 | 417,205,888 | 375 |
[
"axiomatic-systems",
"Bento4"
] | **Description** - we observed a Out of bound write occured in function AP4_Array<AP4_CttsTableEntry>::SetItemCount() located in Ap4Array.h.The same be triggered by sending a crafted file to the [mp42hls.exe(windows)] [mp42hls(ubuntu)] binary. It allows an attacker to cause Denial of Service (Segmentation fault) or possibly have unspecified other impact.
**Command in linux** - mp42hls --hls-version 3 --pmt-pid 0x100 --video-pid 0x102 --video-track-id 1 --segment-duration 6 --segment-duration-threshold 15 --pcr-offset 10000 --index-filename stream.m3u8 --segment-filename-template stream.mp4 --output-single-file $POC
**Command in windows** - mp42hls.exe --hls-version 3 --pmt-pid 0x100 --video-pid 0x102 --video-track-id 1 --segment-duration 6 --segment-duration-threshold 15 --pcr-offset 10000 --index-filename stream.m3u8 --segment-filename-template stream.mp4 --output-single-file $POC
**POC** - [REPRODUCER](https://github.com/SegfaultMasters/covering360/blob/master/BENTO4/HOB_POC1?raw=true)
**Degub** -
**ASAN REPORT** -
~~~
ASAN report:
WARNING: forcing version to 4 in order to support single file output
=================================================================
==9911==ERROR: AddressSanitizer: heap-buffer-overflow on address 0xb4303d10 at pc 0x08187f87 bp 0xbfffd008 sp 0xbfffcff8
WRITE of size 4 at 0xb4303d10 thread T0
#0 0x8187f86 in AP4_CttsTableEntry::AP4_CttsTableEntry() /Bento4/Source/C++/Core/Ap4CttsAtom.h:51
#1 0x8188428 in AP4_Array<AP4_CttsTableEntry>::SetItemCount(unsigned int) /Bento4/Source/C++/Core/Ap4Array.h:215
#2 0x8187441 in AP4_CttsAtom::AP4_CttsAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /Bento4/Source/C++/Core/Ap4CttsAtom.cpp:79
#3 0x81870aa in AP4_CttsAtom::Create(unsigned int, AP4_ByteStream&) /Bento4/Source/C++/Core/Ap4CttsAtom.cpp:52
#4 0x8196e9a in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /Bento4/Source/C++/Core/Ap4AtomFactory.cpp:469
#5 0x81950ee in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /Bento4/Source/C++/Core/Ap4AtomFactory.cpp:231
#6 0x80c376f in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:194
#7 0x80c31a1 in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:139
#8 0x80c2c79 in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:88
#9 0x81987d0 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /Bento4/Source/C++/Core/Ap4AtomFactory.cpp:774
#10 0x81950ee in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /Bento4/Source/C++/Core/Ap4AtomFactory.cpp:231
#11 0x80c376f in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:194
#12 0x80c31a1 in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:139
#13 0x80c2c79 in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:88
#14 0x81987d0 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /Bento4/Source/C++/Core/Ap4AtomFactory.cpp:774
SUMMARY: AddressSanitizer: heap-buffer-overflow /Bento4/Source/C++/Core/Ap4CttsAtom.h:51 AP4_CttsTableEntry::AP4_CttsTableEntry()
Shadow bytes around the buggy address:
0x36860750: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x36860760: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x36860770: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x36860780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x36860790: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
=>0x368607a0: 00 00[fa]fa fa fa fa fa fa fa fa fa fa fa fa fa
0x368607b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x368607c0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x368607d0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x368607e0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x368607f0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
Addressable: 00
Partially addressable: 01 02 03 04 05 06 07
Heap left redzone: fa
Heap right redzone: fb
Freed heap region: fd
Stack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
Stack partial redzone: f4
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
==9911==ABORTING
~~~
**GDB** -
~~~
source:/home/loginsoft/ACE/sources/himanshu_sources/Bento4/Source/C++/Core/Ap4Array.h+215 ────
210 AP4_Result result = EnsureCapacity(item_count);
211 if (AP4_FAILED(result)) return result;
212
213 // construct the new items
214 for (unsigned int i=m_ItemCount; i<item_count; i++) {
// i=0x27ae
→ 215 new ((void*)&m_Items[i]) T();
216 }
217 m_ItemCount = item_count;
218 return AP4_SUCCESS;
219 }
220
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── threads ────
[#0] Id 1, Name: "mp42hls", stopped, reason: SIGSEGV
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── trace ────
[#0] 0x810429f → AP4_Array<AP4_SbgpAtom::Entry>::SetItemCount(this=0x8165278, item_count=0x80000001)
[#1] 0x8103d92 → AP4_SbgpAtom::AP4_SbgpAtom(this=0x8165250, size=0x1c, version=0x0, flags=0x0, stream=@0x8159ea0)
[#2] 0x8103bf5 → AP4_SbgpAtom::Create(size=0x1c, stream=@0x8159ea0)
[#3] 0x80f59da → AP4_AtomFactory::CreateAtomFromStream(this=0xbffff1c4, stream=@0x8159ea0, type=0x73626770, size_32=0x1c, size_64=0x1c, atom=@0xbfffe72c)
[#4] 0x80f412a → AP4_AtomFactory::CreateAtomFromStream(this=0xbffff1c4, stream=@0x8159ea0, bytes_available=@0xbfffe730, atom=@0xbfffe72c)
[#5] 0x80a4cd5 → AP4_ContainerAtom::ReadChildren(this=0x815ea10, atom_factory=@0xbffff1c4, stream=@0x8159ea0, size=0x4a40)
[#6] 0x80a4a44 → AP4_ContainerAtom::AP4_ContainerAtom(this=0x815ea10, type=0x7374626c, size=0x4a48, force_64=0x0, stream=@0x8159ea0, atom_factory=@0xbffff1c4)
[#7] 0x80a47e5 → AP4_ContainerAtom::Create(type=0x7374626c, size=0x4a48, is_full=0x0, force_64=0x0, stream=@0x8159ea0, atom_factory=@0xbffff1c4)
[#8] 0x80f5bbf → AP4_AtomFactory::CreateAtomFromStream(this=0xbffff1c4, stream=@0x8159ea0, type=0x7374626c, size_32=0x4a48, size_64=0x4a48, atom=@0xbfffe93c)
[#9] 0x80f412a → AP4_AtomFactory::CreateAtomFromStream(this=0xbffff1c4, stream=@0x8159ea0, bytes_available=@0xbfffe940, atom=@0xbfffe93c)
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
gef➤ p/d entry_count
$3 = 1073742722
gef➤ p/d item_count
$4 = 1073742722
gef➤ ptype i
type = unsigned int
gef➤ p/d i
$13 = 15468
gef➤ p/d m_Items
$14 = 135638176
gef➤ ptype m_Items
type = class AP4_CttsTableEntry {
public:
AP4_UI32 m_SampleCount;
AP4_UI32 m_SampleOffset;
AP4_CttsTableEntry(void);
AP4_CttsTableEntry(AP4_UI32, AP4_UI32);
} *
gef➤ x m_Items[i]
Cannot access memory at address 0x8179000
gef➤ p m_Items[15468]
Cannot access memory at address 0x8179000
gef➤ i r
eax 0x8179000 0x8179000
ecx 0xb7df3780 0xb7df3780
edx 0x1e360 0x1e360
ebx 0x815ac60 0x815ac60
esp 0xbfffe528 0xbfffe528
ebp 0xbfffe528 0xbfffe528
esi 0x1c20 0x1c20
edi 0xb7df3000 0xb7df3000
eip 0x80ef168 0x80ef168 <AP4_CttsTableEntry::AP4_CttsTableEntry()+6>
eflags 0x10292 [ AF SF IF RF ]
cs 0x73 0x73
ss 0x7b 0x7b
ds 0x7b 0x7b
es 0x7b 0x7b
fs 0x0 0x0
gs 0x33 0x33
~~~
**DEBUG ON WINDOWS** -
~~~
STACK_TEXT:
004be750 000d6b2d 0074f000 00000551 00000000 Mp42Hls!AP4_CttsTableEntry::AP4_CttsTableEntry+0x11
004be76c 000d60e3 40000382 15981e17 004be928 Mp42Hls!AP4_Array<AP4_CttsTableEntry>::SetItemCount+0xbd
004be7bc 000d668b 00001c20 00000000 00000000 Mp42Hls!AP4_CttsAtom::AP4_CttsAtom+0xa3
004be808 000a1fb9 00001c20 00749810 1598109f Mp42Hls!AP4_CttsAtom::Create+0xab
004be934 000a08dd 00749810 63747473 00001c20 Mp42Hls!AP4_AtomFactory::CreateAtomFromStream+0x14c9
004be9e8 000ae0b9 00749810 004bea08 004bea18 Mp42Hls!AP4_AtomFactory::CreateAtomFromStream+0x26d
FAILURE_BUCKET_ID: INVALID_POINTER_WRITE_c0000005_Mp42Hls.exe!AP4_CttsTableEntry::AP4_CttsTableEntry
BUCKET_ID: APPLICATION_FAULT_INVALID_POINTER_WRITE_Mp42Hls!AP4_CttsTableEntry::AP4_CttsTableEntry+11
ExceptionCode: c0000005 (Access violation)
FAULTING_SOURCE_FILE: \bento4-master\source\c++\core\ap4cttsatom.h
FAILURE_FUNCTION_NAME: AP4_CttsTableEntry::AP4_CttsTableEntry
Registers:
eax=0074f000 ebx=7efde000 ecx=0074f000 edx=00000001 esi=004be954 edi=004be7b0
eip=000d62f1 esp=004be74c ebp=004be750 iopl=0 nv up ei pl nz na po nc
cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010202
~~~ | Out of bound write in AP4_CttsTableEntry::AP4_CttsTableEntry() | https://api.github.com/repos/axiomatic-systems/Bento4/issues/374/comments | 0 | 2019-02-28T15:32:28Z | 2019-02-28T15:32:28Z | https://github.com/axiomatic-systems/Bento4/issues/374 | 415,682,606 | 374 |
[
"axiomatic-systems",
"Bento4"
] | After using bento4, I have to pass the file through `ffmpeg`, to fix the header, since it but of play without going through `ffmpeg -vcodec copy`, is there any way to fix this with bento4? without making use of `ffmpeg`?
**If so, could you give me an example of how to do it?**
My output is written via `AP4_FileByteStream :: Create ("test_output.mp4", AP4_FileByteStream :: STREAM_MODE_WRITE, output);`
I'm still studying the features and uses of bento4, an amazing library, sorry if I asked any silly questions, I'm a layman. @barbibulle
Thank you for your attention. | alternative to ffmpeg copy to fix header, in bento4 | https://api.github.com/repos/axiomatic-systems/Bento4/issues/373/comments | 3 | 2019-02-25T16:47:45Z | 2019-03-07T01:18:05Z | https://github.com/axiomatic-systems/Bento4/issues/373 | 414,200,820 | 373 |
[
"axiomatic-systems",
"Bento4"
] | Hi.
By using Bento4 1.5.1-628 for macOS, I get a warning while inserting moov atom.
The warning reads as follows: "WARNING: atom serialized to fewer bytes than declared size".
I proceeded as follows:
./mp4extract moov/meta input.MOV moov.txt
./mp4edit --insert moov:moov.txt output.MOV outputGPS.MOV
I became aware of Bento4 thanks to this post: http://u88.n24.queensu.ca/exiftool/forum/index.php/topic,7826.msg41363.html?PHPSESSID=3a4693aa0c577cba07899f42e2b3a705#msg41363
The commands mentioned in this post I just adapted to the ones above the link.
Did I run the commands incorrectly? Any help is welcome, so many thanks in advance! | warning while inserting moov atom | https://api.github.com/repos/axiomatic-systems/Bento4/issues/372/comments | 0 | 2019-02-24T21:20:09Z | 2019-02-26T04:45:32Z | https://github.com/axiomatic-systems/Bento4/issues/372 | 413,869,622 | 372 |
[
"axiomatic-systems",
"Bento4"
] | Try to build this library with Scons + ndk 18b, api level = 23. There is no gcc compiler, only clang and i have many errors.
```
export ANDROID_NDK_ROOT=/opt/android/android-ndk-r18b
export PATH=/home/fedor/Android/Sdk/tools:$PATH
scons -u target=arm-android-linux build_config=Release
```
1)I changed config.scons file for android, set ANDROID_PLATFORM='android-23' and got error '-mthumb-interwork' is incorrect argument for clang.
2)I removed '-mthumb-interwork' from arg list and got error with missed headers.
3)created custom toolchain with Android ndk script in build/tools: `./make_standalone_toolchain.py --arch arm --api 23 --install-dir /tmp/ndk_18_api_23_toolchain`
and changed libs and headers path in config.scons file.
Then got linker error:
"Build/Targets/arm-android-linux/Release/libBento4.a(Ap4AvcParser.o):Ap4AvcParser.cpp:function AP4_AvcFrameParser::CheckIfAccessUnitIsCompleted(AP4_AvcFrameParser::AccessUnitInfo&): error: undefined reference to '__aeabi_uidiv'
clang++: error: linker command failed with exit code 1
"
that error i can't resolve. Can anybody help me with building this lib by ndk 18 and clang. | Android NDK 18b+ build? | https://api.github.com/repos/axiomatic-systems/Bento4/issues/370/comments | 2 | 2019-02-21T16:37:29Z | 2019-02-26T04:48:34Z | https://github.com/axiomatic-systems/Bento4/issues/370 | 413,016,859 | 370 |
[
"axiomatic-systems",
"Bento4"
] | Hi there,
ffmpeg has the ability to preserve space for the moov atom at the beginning of the file by using [moov_size](https://ffmpeg.org/ffmpeg-formats.html#Options-8) flag. So there is no need for 2nd pass to move `moov` to the beginning for fast start. Does Bento4 support such feature?
What I want to do is read the recording frames while writing it. And, this way could also avoid mp4 corruption if we have no chance to close it.
Thanks | Preserve space for moov | https://api.github.com/repos/axiomatic-systems/Bento4/issues/369/comments | 3 | 2019-02-14T06:50:01Z | 2019-03-18T04:37:35Z | https://github.com/axiomatic-systems/Bento4/issues/369 | 410,153,980 | 369 |
[
"axiomatic-systems",
"Bento4"
] | It seems that the --show-progress flag doesn't work. | mp4decrypt --show-progress doesn't actually show progress, broken? | https://api.github.com/repos/axiomatic-systems/Bento4/issues/368/comments | 2 | 2019-02-13T14:28:14Z | 2024-01-16T10:46:14Z | https://github.com/axiomatic-systems/Bento4/issues/368 | 409,831,229 | 368 |
[
"axiomatic-systems",
"Bento4"
] | **Description** - we observed a NULL pointer dereference occured in `AP4_Track::GetSampleIndexForTimeStampMs()` located in `Ap4Track.cpp`.The same be triggered by sending a crafted file to the mp4audioclip binary. It allows an attacker to cause Denial of Service (Segmentation fault) or possibly have unspecified other impact.
**Command** - `./mp4audioclip --start 0 --duration 100 $POC OUTPUTFILE`
**POC** - [REPRODUCER](https://github.com/SegfaultMasters/covering360/blob/master/BENTO4/NP_POC?raw=true)
**Debug** -
**GDB** -
```
0x00000000004585cb in AP4_Track::GetSampleIndexForTimeStampMs (this=0x6040000001d0, ts_ms=0x0, index=@0x7fffffffdb10: 0x0) at /home/ace/Downloads/sources/Bento4/Source/C++/Core/Ap4Track.cpp:485
485 return m_SampleTable->GetSampleIndexForTimeStamp(ts, index);
[ Legend: Modified register | Code | Heap | Stack | String ]
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ registers ]────
$rax : 0x0
$rbx : 0x7fffffffdd70 → 0x0000000000000000
$rcx : 0x0
$rdx : 0x0
$rsp : 0x7fffffffd9d0 → 0x00007fffffffda00 → 0x00007fffffffdda0 → 0x0000000000578490 → <__libc_csu_init+0> push r15
$rbp : 0x7fffffffda00 → 0x00007fffffffdda0 → 0x0000000000578490 → <__libc_csu_init+0> push r15
$rsi : 0x0
$rdi : 0x0
$rip : 0x4585cb → <AP4_Track::GetSampleIndexForTimeStampMs(unsigned+0> mov rax, QWORD PTR [rax]
$r8 : 0x0
$r9 : 0x0
$r10 : 0x60b0000000e0 → 0x14ffffff00000002
$r11 : 0x7fffffffd1d8 → 0x000060c000000090 → 0x00000000005caca0 → 0x00000000004809d6 → <AP4_List<AP4_TrakAtom>::~AP4_List()+0> push rbp
$r12 : 0xffffffffb56 → 0x0000000000000000
$r13 : 0x7fffffffdab0 → 0x0000000041b58ab3
$r14 : 0x60b0000000f0 → 0x00000000005ecdb0 → 0x000000000048acd4 → <AP4_SyntheticSampleTable::~AP4_SyntheticSampleTable()+0> push rbp
$r15 : 0x0
$eflags: [carry PARITY adjust ZERO sign trap INTERRUPT direction overflow RESUME virtualx86 identification]
$ss: 0x002b $fs: 0x0000 $es: 0x0000 $ds: 0x0000 $gs: 0x0000 $cs: 0x0033
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ stack ]────
0x00007fffffffd9d0│+0x00: 0x00007fffffffda00 → 0x00007fffffffdda0 → 0x0000000000578490 → <__libc_csu_init+0> push r15 ← $rsp
0x00007fffffffd9d8│+0x08: 0x00007fffffffdb10 → 0x00007fff00000000
0x00007fffffffd9e0│+0x10: 0x000000000000bb80
0x00007fffffffd9e8│+0x18: 0x00006040000001d0 → 0x0000000000596420 → 0x000000000045725e → <AP4_Track::~AP4_Track()+0> push rbp
0x00007fffffffd9f0│+0x20: 0x0000000a00000000 → 0x0000000000000000
0x00007fffffffd9f8│+0x28: 0x0000000000000000
0x00007fffffffda00│+0x30: 0x00007fffffffdda0 → 0x0000000000578490 → <__libc_csu_init+0> push r15 ← $rbp
0x00007fffffffda08│+0x38: 0x0000000000451b68 → <main+1950> test eax, eax
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ code:i386:x86-64 ]────
0x4585c0 <AP4_Track::GetSampleIndexForTimeStampMs(unsigned+0> div BYTE PTR [rax+rcx*1+0x48]
0x4585c4 <AP4_Track::GetSampleIndexForTimeStampMs(unsigned+0> mov edi, edx
0x4585c6 <AP4_Track::GetSampleIndexForTimeStampMs(unsigned+0> call 0x451140 <__asan_report_load8@plt>
→ 0x4585cb <AP4_Track::GetSampleIndexForTimeStampMs(unsigned+0> mov rax, QWORD PTR [rax]
0x4585ce <AP4_Track::GetSampleIndexForTimeStampMs(unsigned+0> add rax, 0x40
0x4585d2 <AP4_Track::GetSampleIndexForTimeStampMs(unsigned+0> mov rdx, rax
0x4585d5 <AP4_Track::GetSampleIndexForTimeStampMs(unsigned+0> mov rsi, rdx
0x4585d8 <AP4_Track::GetSampleIndexForTimeStampMs(unsigned+0> shr rsi, 0x3
0x4585dc <AP4_Track::GetSampleIndexForTimeStampMs(unsigned+0> add rsi, 0x7fff8000
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ source:/home/ace/Downloads/sources/Bento4/Source/C++/Core/Ap4Track.cpp+485 ]────
480 AP4_Track::GetSampleIndexForTimeStampMs(AP4_UI32 ts_ms, AP4_Ordinal& index)
481 {
482 // convert the ts in the timescale of the track's media
483 AP4_UI64 ts = AP4_ConvertTime(ts_ms, 1000, GetMediaTimeScale());
484
→ 485 return m_SampleTable->GetSampleIndexForTimeStamp(ts, index);
486 }
487
488 /*----------------------------------------------------------------------
489 | AP4_Track::GetNearestSyncSampleIndex
490 +---------------------------------------------------------------------*/
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ threads ]────
[#0] Id 1, Name: "mp4audioclip", stopped, reason: SIGSEGV
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ trace ]────
[#0] 0x4585cb → Name: AP4_Track::GetSampleIndexForTimeStampMs(this=0x6040000001d0, ts_ms=0x0, index=@0x7fffffffdb10)
[#1] 0x451b68 → Name: main(argc=0x7, argv=0x7fffffffdec0)
gef➤ p ts
$4 = 0x0
gef➤ p index
$5 = (AP4_Ordinal &) @0x7fffffffdb10: 0x0
gef➤ p m_SampleTable
$6 = (AP4_SampleTable *) 0x0
gef➤ p m_SampleTable->GetSampleIndexForTimeStamp(ts, index)
Cannot access memory at address 0x0
``` | NULL POINTER DEREFERENCE in AP4_Track::GetSampleIndexForTimeStampMs() | https://api.github.com/repos/axiomatic-systems/Bento4/issues/366/comments | 0 | 2019-02-07T06:32:20Z | 2019-02-07T06:32:50Z | https://github.com/axiomatic-systems/Bento4/issues/366 | 407,559,605 | 366 |
[
"axiomatic-systems",
"Bento4"
] | Hello,
I have a large list of mp4 files (about 1000 files) that I'm trying to concatenate into one continuous stream. All of these files are from the same file, they were sectioned off and now I need to put them back together as if they were one file. I tried to use MP4Mux but it adds them as each individual tracks. Do any of the tools in Bento4 set have the ability to join multiple mp4 files into 1 mp4 file?
Thank you | Concatenate MP4 | https://api.github.com/repos/axiomatic-systems/Bento4/issues/365/comments | 5 | 2019-02-06T08:59:48Z | 2021-11-25T03:34:51Z | https://github.com/axiomatic-systems/Bento4/issues/365 | 407,135,252 | 365 |
[
"axiomatic-systems",
"Bento4"
] | **Description** - we observed a NULL pointer dereference occured in function AP4_List<AP4_Track>: Find () located in Ap4List.h.The same be triggered by sending a crafted file to the mp4dump binary. It allows an attacker to cause Denial of Service (Segmentation fault) or possibly have unspecified other impact.
**Command** - `./mp4dump --track 1:E791400BC075044176E34136E3C134F35E3513BE430B907B --format text $POC`
**POC** - [REPRODUCER](https://github.com/SegfaultMasters/covering360/blob/master/BENTO4/POC_NP?raw=true)
**Degub** -
**ASAN REPORT** -
```
ASAN: DEADLYSIGNAL
=================================================================
==10246==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000030 (pc 0x55d0b61aeae7 bp 0x7ffcc696e490 sp 0x7ffcc696e460 T0)
==10246==The signal is caused by a READ memory access.
==10246==Hint: address points to the zero page.
#0 0x55d0b61aeae6 in AP4_List<AP4_Track>::Find(AP4_List<AP4_Track>::Item::Finder const&, AP4_Track*&) const /home/aceteam/Desktop/packages/Bento4/Source/C++/Core/Ap4List.h:428
#1 0x55d0b61adb79 in AP4_Movie::GetTrack(unsigned int) /home/aceteam/Desktop/packages/Bento4/Source/C++/Core/Ap4Movie.cpp:148
#2 0x55d0b6161f2f in DumpTrackData(char const*, AP4_File&, AP4_Array<unsigned int> const&, AP4_ProtectionKeyMap const&) /home/aceteam/Desktop/packages/Bento4/Source/C++/Apps/Mp4Dump/Mp4Dump.cpp:183
#3 0x55d0b616304f in main /home/aceteam/Desktop/packages/Bento4/Source/C++/Apps/Mp4Dump/Mp4Dump.cpp:367
#4 0x7faa6d1a4b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#5 0x55d0b61612f9 in _start (/home/aceteam/Desktop/packages/Bento4/builds/mp4dump+0x3082f9)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /home/aceteam/Desktop/packages/Bento4/Source/C++/Core/Ap4List.h:428 in AP4_List<AP4_Track>::Find(AP4_List<AP4_Track>::Item::Finder const&, AP4_Track*&) const
==10246==ABORTING
```
**GDB** -
```
Program received signal SIGSEGV, Segmentation fault.
[ Legend: Modified register | Code | Heap | Stack | String ]
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ registers ]────
$rax : 0x20
$rbx : 0x7fffffffd7e0 → 0x0000555555da9370 → 0x0000555555869846 → <AP4_AtomFactory::~AP4_AtomFactory()+0> push rbp
$rcx : 0x0
$rdx : 0x0
$rsp : 0x7fffffffd6f0 → 0x00007fffffffd730 → 0x00000001ffffd750 → 0x0000000000000000
$rbp : 0x7fffffffd720 → 0x00007fffffffd810 → 0x00007fffffffd880 → 0x00007fffffffdc70 → 0x0000555555985150 → <__libc_csu_init+0> push r15
$rsi : 0x7fffffffd7a0 → 0x0000555555da98f0 → 0x00005555558aa0fe → <AP4_TrackFinderById::~AP4_TrackFinderById()+0> push rbp
$rdi : 0x20
$rip : 0x5555558a9ae7 → <AP4_List<AP4_Track>::Find(AP4_List<AP4_Track>::Item::Finder+0> mov rax, QWORD PTR [rax+0x10]
$r8 : 0x6
$r9 : 0x1e
$r10 : 0x7ffff7fbd000 → 0x00007ffff7fee000 → 0x00007ffff716a698 → 0x00007ffff6f09090 → repz ret
$r11 : 0x7ffff64a9b97 → <__libc_start_main+231> mov edi, eax
$r12 : 0x7fffffffd740 → 0x0000000041b58ab3
$r13 : 0xffffffffae8 → 0x0000000000000000
$r14 : 0x20
$r15 : 0x7fffffffd740 → 0x0000000041b58ab3
$eflags: [ZERO carry PARITY adjust sign trap INTERRUPT direction overflow RESUME virtualx86 identification]
$ds: 0x0000 $es: 0x0000 $fs: 0x0000 $ss: 0x002b $cs: 0x0033 $gs: 0x0000
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ stack ]────
0x00007fffffffd6f0│+0x00: 0x00007fffffffd730 → 0x00000001ffffd750 → 0x0000000000000000 ← $rsp
0x00007fffffffd6f8│+0x08: 0x00007fffffffd760 → 0x0000000000000000
0x00007fffffffd700│+0x10: 0x00007fffffffd7a0 → 0x0000555555da98f0 → 0x00005555558aa0fe → <AP4_TrackFinderById::~AP4_TrackFinderById()+0> push rbp
0x00007fffffffd708│+0x18: 0x0000000000000020
0x00007fffffffd710│+0x20: 0x00000001fffffaf8 → 0x0000000000000000
0x00007fffffffd718│+0x28: 0x00007fffffffd7a0 → 0x0000555555da98f0 → 0x00005555558aa0fe → <AP4_TrackFinderById::~AP4_TrackFinderById()+0> push rbp
0x00007fffffffd720│+0x30: 0x00007fffffffd810 → 0x00007fffffffd880 → 0x00007fffffffdc70 → 0x0000555555985150 → <__libc_csu_init+0> push r15 ← $rbp
0x00007fffffffd728│+0x38: 0x00005555558a8b7a → <AP4_Movie::GetTrack(unsigned+0> test eax, eax
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ code:i386:x86-64 ]────
0x5555558a9adb <AP4_List<AP4_Track>::Find(AP4_List<AP4_Track>::Item::Finder+0> mov rdi, rax
0x5555558a9ade <AP4_List<AP4_Track>::Find(AP4_List<AP4_Track>::Item::Finder+0> call 0x55555585c180 <__asan_report_load8@plt>
0x5555558a9ae3 <AP4_List<AP4_Track>::Find(AP4_List<AP4_Track>::Item::Finder+0> mov rax, QWORD PTR [rbp-0x18]
→ 0x5555558a9ae7 <AP4_List<AP4_Track>::Find(AP4_List<AP4_Track>::Item::Finder+0> mov rax, QWORD PTR [rax+0x10]
0x5555558a9aeb <AP4_List<AP4_Track>::Find(AP4_List<AP4_Track>::Item::Finder+0> mov QWORD PTR [rbp-0x8], rax
0x5555558a9aef <AP4_List<AP4_Track>::Find(AP4_List<AP4_Track>::Item::Finder+0> cmp QWORD PTR [rbp-0x8], 0x0
0x5555558a9af4 <AP4_List<AP4_Track>::Find(AP4_List<AP4_Track>::Item::Finder+0> je 0x5555558a9c13 <AP4_List<AP4_Track>::Find(AP4_List<AP4_Track>::Item::Finder const&, AP4_Track*&) const+361>
0x5555558a9afa <AP4_List<AP4_Track>::Find(AP4_List<AP4_Track>::Item::Finder+0> mov rax, QWORD PTR [rbp-0x20]
0x5555558a9afe <AP4_List<AP4_Track>::Find(AP4_List<AP4_Track>::Item::Finder+0> mov rdx, rax
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ source:/home/aceteam//Bento4/Source/C++/Core/Ap4List.h+428 ]────
423 template <typename T>
424 inline
425 AP4_Result
426 AP4_List<T>::Find(const typename Item::Finder& finder, T*& data) const
427 {
// item=0x00007fffffffd718 → [...] → <AP4_TrackFinderById::~AP4_TrackFinderById()+0> push rbp
→ 428 Item* item = m_Head;
429
430 while (item) {
431 if (finder.Test(item->m_Data) == AP4_SUCCESS) {
432 data = item->m_Data;
433 return AP4_SUCCESS;
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ threads ]────
[#0] Id 1, Name: "mp4dump", stopped, reason: SIGSEGV
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ trace ]────
[#0] 0x5555558a9ae7 → Name: AP4_List<AP4_Track>::Find(this=0x20, finder=@0x7fffffffd7a0, data=@0x7fffffffd760)
[#1] 0x5555558a8b7a → Name: AP4_Movie::GetTrack(this=0x0, track_id=0x1)
[#2] 0x55555585cf30 → Name: DumpTrackData(mp4_filename=0x7fffffffe17b "$POC", mp4_file=@0x7fffffffdb80, tracks_to_dump=@0x7fffffffda80, key_map=@0x7fffffffdac0)
[#3] 0x55555585e050 → Name: main(argc=0x6, argv=0x7fffffffdd90)
─────────────────────────────────────────────────────────────────────────────────────────────────
```
| NULL POINTER DEREFERENCE in AP4_List<AP4_Track>: Find () | https://api.github.com/repos/axiomatic-systems/Bento4/issues/364/comments | 0 | 2019-02-01T10:30:07Z | 2019-02-01T10:30:07Z | https://github.com/axiomatic-systems/Bento4/issues/364 | 405,641,344 | 364 |
[
"axiomatic-systems",
"Bento4"
] | **Description** - we observed a heap-buffer-overflow occured in function` AP4_BitStream::ReadBytes()` located in `Ap4BitStream.cpp`.The same be triggered by sending a crafted file to the aac2mp4 binary. It allows an attacker to cause Denial of Service (Segmentation fault) or possibly have unspecified other impact.
**Command** - `./aac2mp4 $POC output.mp4`
**POC** - [REPRODUCER](https://github.com/SegfaultMasters/covering360/blob/master/BENTO4/HEAP_BOF_POC?raw=true)
**Degub** -
**ASAN REPORT** -
````
ASAN REPORT:
==2056==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x625000002100 at pc 0x7ffff6e93733 bp 0x7fffffffc840 sp 0x7fffffffbfe8
READ of size 4294967289 at 0x625000002100 thread T0
#0 0x7ffff6e93732 (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x79732)
#1 0x555555868840 in AP4_BitStream::ReadBytes(unsigned char*, unsigned int) /home/aceteam/Desktop/packages/Bento4/Source/C++/Codecs/Ap4BitStream.cpp:192
#2 0x555555864ecb in main /home/aceteam/Desktop/packages/Bento4/Source/C++/Apps/Aac2Mp4/Aac2Mp4.cpp:142
#3 0x7ffff64a9b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#4 0x555555864369 in _start (/home/aceteam/Desktop/packages/Bento4/builds/aac2mp4+0x310369)
0x625000002100 is located 0 bytes to the right of 8192-byte region [0x625000000100,0x625000002100)
allocated by thread T0 here:
#0 0x7ffff6efa618 in operator new [] (unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xe0618)
#1 0x555555867a67 in AP4_BitStream: AP4_BitStream () /home/aceteam/Desktop/packages/Bento4/Source/C++/Codecs/Ap4BitStream.cpp:45
#2 0x5555558661f2 in AP4_AdtsParser: AP4_AdtsParser () /home/aceteam/Desktop/packages/Bento4/Source/C++/Codecs/Ap4AdtsParser.cpp:125
#3 0x55555586492a in main /home/aceteam/Desktop/packages/Bento4/Source/C++/Apps/Aac2Mp4/Aac2Mp4.cpp:100
#4 0x7ffff64a9b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
SUMMARY: AddressSanitizer: heap-buffer-overflow (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x79732)
Shadow bytes around the buggy address:
0x0c4a7fff83d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0c4a7fff83e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0c4a7fff83f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0c4a7fff8400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0c4a7fff8410: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
=>0x0c4a7fff8420: [fa]fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c4a7fff8430: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c4a7fff8440: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c4a7fff8450: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c4a7fff8460: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c4a7fff8470: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow 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
==2056==ABORTING
````
**GDB** -
````
Program received signal SIGSEGV, Segmentation fault.
[ Legend: Modified register | Code | Heap | Stack | String ]
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ registers ]────
$rax : 0x7ffef70a4010 → 0x0000000000000000
$rbx : 0x7fffffffcc48 → 0x000055555588f8d0 → 0xf7c6e70fa88241a4
$rcx : 0x555555890136 → 0x100389d9fd941721
$rdx : 0xfffffff9
$rsp : 0x7fffffffcb48 → 0x00005555555bd601 → <AP4_BitStream::ReadBytes(unsigned+0> mov rax, QWORD PTR [rbp-0x18]
$rbp : 0x7fffffffcb80 → 0x00007fffffffdca0 → 0x0000555555631190 → <__libc_csu_init+0> push r15
$rsi : 0x555555890136 → 0x100389d9fd941721
$rdi : 0x7ffef70a4010 → 0x0000000000000000
$rip : 0x7ffff74fe6d3 → <__memmove_sse2_unaligned_erms+435> movups xmm8, XMMWORD PTR [rsi+rdx*1-0x10]
$r8 : 0xffffffff
$r9 : 0x0
$r10 : 0x22
$r11 : 0x246
$r12 : 0xfffffff9
$r13 : 0x7fffffffdd80 → 0x0000000000000003
$r14 : 0x0
$r15 : 0x0
$eflags: [zero carry parity ADJUST sign trap INTERRUPT direction overflow RESUME virtualx86 identification]
$gs: 0x0000 $fs: 0x0000 $ds: 0x0000 $ss: 0x002b $es: 0x0000 $cs: 0x0033
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ stack ]────
0x00007fffffffcb48│+0x00: 0x00005555555bd601 → <AP4_BitStream::ReadBytes(unsigned+0> mov rax, QWORD PTR [rbp-0x18] ← $rsp
0x00007fffffffcb50│+0x08: 0x00007fffffffcb80 → 0x00007fffffffdca0 → 0x0000555555631190 → <__libc_csu_init+0> push r15
0x00007fffffffcb58│+0x10: 0xfffffff95589a0a0
0x00007fffffffcb60│+0x18: 0x00007ffef70a4010 → 0x0000000000000000
0x00007fffffffcb68│+0x20: 0x00007fffffffcc48 → 0x000055555588f8d0 → 0xf7c6e70fa88241a4
0x00007fffffffcb70│+0x28: 0x000055555589a070 → 0x00005555558714c8 → 0x00005555555bec94 → <AP4_MemoryByteStream::~AP4_MemoryByteStream()+0> push rbp
0x00007fffffffcb78│+0x30: 0xe9967b959a292100
0x00007fffffffcb80│+0x38: 0x00007fffffffdca0 → 0x0000555555631190 → <__libc_csu_init+0> push r15 ← $rbp
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ code:i386:x86-64 ]────
0x7ffff74fe6c6 <__memmove_sse2_unaligned_erms+422> movups xmm5, XMMWORD PTR es:[rsi+0x10]
0x7ffff74fe6cb <__memmove_sse2_unaligned_erms+427> movups xmm6, XMMWORD PTR [rsi+0x20]
0x7ffff74fe6cf <__memmove_sse2_unaligned_erms+431> movups xmm7, XMMWORD PTR [rsi+0x30]
→ 0x7ffff74fe6d3 <__memmove_sse2_unaligned_erms+435> movups xmm8, XMMWORD PTR [rsi+rdx*1-0x10]
0x7ffff74fe6d9 <__memmove_sse2_unaligned_erms+441> lea r11, [rdi+rdx*1-0x10]
0x7ffff74fe6de <__memmove_sse2_unaligned_erms+446> lea rcx, [rsi+rdx*1-0x10]
0x7ffff74fe6e3 <__memmove_sse2_unaligned_erms+451> mov r9, r11
0x7ffff74fe6e6 <__memmove_sse2_unaligned_erms+454> mov r8, r11
0x7ffff74fe6e9 <__memmove_sse2_unaligned_erms+457> and r8, 0xf
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ threads ]────
[#0] Id 1, Name: "aac2mp4", stopped, reason: SIGSEGV
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────[ trace ]────
[#0] 0x7ffff74fe6d3 → Name: __memmove_sse2_unaligned_erms()
[#1] 0x5555555bd601 → Name: AP4_BitStream::ReadBytes(this=0x7fffffffcc48, bytes=0x7ffef70a4010 "", byte_count=0xfffffff9)
[#2] 0x5555555bc395 → Name: main(argc=0x3, argv=0x7fffffffdd88)
````
| A heap-buffer-overflow occured in function AP4_BitStream::ReadBytes() | https://api.github.com/repos/axiomatic-systems/Bento4/issues/363/comments | 0 | 2019-01-29T07:09:12Z | 2019-02-01T10:24:02Z | https://github.com/axiomatic-systems/Bento4/issues/363 | 404,151,105 | 363 |
[
"axiomatic-systems",
"Bento4"
] | A crafted input will lead to failed allocate LargeMmapAllocator inAp4DataBuffer.cpp:210 at Bento4 1.5.1-628.
Triggered by
./mp42hls poc2
Poc
[poc2.zip](https://github.com/axiomatic-systems/Bento4/files/2798562/poc2.zip)
Bento4 Version 1.5.1-628
The ASAN information is as follows:
```
==5702==ERROR: AddressSanitizer failed to allocate 0x80008000 (2147516416) bytes of LargeMmapAllocator (errno: 12)
==5702==Process memory map follows:
0x000000400000-0x0000007b4000 /home/jas/Downloads/Bento4-SRC-1-5-1-628/cmakebuild/mp42hls
0x0000009b4000-0x0000009b5000 /home/jas/Downloads/Bento4-SRC-1-5-1-628/cmakebuild/mp42hls
0x0000009b5000-0x000000b5b000 /home/jas/Downloads/Bento4-SRC-1-5-1-628/cmakebuild/mp42hls
0x00007fff7000-0x00008fff7000
0x00008fff7000-0x02008fff7000
0x02008fff7000-0x10007fff8000
0x600000000000-0x602000000000
0x602000000000-0x602000010000
0x602000010000-0x603000000000
0x603000000000-0x603000010000
0x603000010000-0x604000000000
0x604000000000-0x604000010000
0x604000010000-0x606000000000
0x606000000000-0x606000010000
0x606000010000-0x607000000000
0x607000000000-0x607000010000
0x607000010000-0x608000000000
0x608000000000-0x608000010000
0x608000010000-0x60b000000000
0x60b000000000-0x60b000010000
0x60b000010000-0x60c000000000
0x60c000000000-0x60c000010000
0x60c000010000-0x60d000000000
0x60d000000000-0x60d000010000
0x60d000010000-0x60e000000000
0x60e000000000-0x60e000010000
0x60e000010000-0x610000000000
0x610000000000-0x610000010000
0x610000010000-0x611000000000
0x611000000000-0x611000010000
0x611000010000-0x615000000000
0x615000000000-0x615000020000
0x615000020000-0x616000000000
0x616000000000-0x616000020000
0x616000020000-0x617000000000
0x617000000000-0x617000020000
0x617000020000-0x619000000000
0x619000000000-0x619000020000
0x619000020000-0x61a000000000
0x61a000000000-0x61a000020000
0x61a000020000-0x61e000000000
0x61e000000000-0x61e000020000
0x61e000020000-0x621000000000
0x621000000000-0x621000020000
0x621000020000-0x624000000000
0x624000000000-0x624000020000
0x624000020000-0x631000000000
0x631000000000-0x631000030000
0x631000030000-0x640000000000
0x640000000000-0x640000003000
0x7fbb2b200000-0x7fbb2b300000
0x7fbb2b400000-0x7fbb2b500000
0x7fbb2b600000-0x7fbb2d952000
0x7fbb2d952000-0x7fbb2da5a000 /lib/x86_64-linux-gnu/libm-2.23.so
0x7fbb2da5a000-0x7fbb2dc59000 /lib/x86_64-linux-gnu/libm-2.23.so
0x7fbb2dc59000-0x7fbb2dc5a000 /lib/x86_64-linux-gnu/libm-2.23.so
0x7fbb2dc5a000-0x7fbb2dc5b000 /lib/x86_64-linux-gnu/libm-2.23.so
0x7fbb2dc5b000-0x7fbb2dc5e000 /lib/x86_64-linux-gnu/libdl-2.23.so
0x7fbb2dc5e000-0x7fbb2de5d000 /lib/x86_64-linux-gnu/libdl-2.23.so
0x7fbb2de5d000-0x7fbb2de5e000 /lib/x86_64-linux-gnu/libdl-2.23.so
0x7fbb2de5e000-0x7fbb2de5f000 /lib/x86_64-linux-gnu/libdl-2.23.so
0x7fbb2de5f000-0x7fbb2de77000 /lib/x86_64-linux-gnu/libpthread-2.23.so
0x7fbb2de77000-0x7fbb2e076000 /lib/x86_64-linux-gnu/libpthread-2.23.so
0x7fbb2e076000-0x7fbb2e077000 /lib/x86_64-linux-gnu/libpthread-2.23.so
0x7fbb2e077000-0x7fbb2e078000 /lib/x86_64-linux-gnu/libpthread-2.23.so
0x7fbb2e078000-0x7fbb2e07c000
0x7fbb2e07c000-0x7fbb2e23c000 /lib/x86_64-linux-gnu/libc-2.23.so
0x7fbb2e23c000-0x7fbb2e43c000 /lib/x86_64-linux-gnu/libc-2.23.so
0x7fbb2e43c000-0x7fbb2e440000 /lib/x86_64-linux-gnu/libc-2.23.so
0x7fbb2e440000-0x7fbb2e442000 /lib/x86_64-linux-gnu/libc-2.23.so
0x7fbb2e442000-0x7fbb2e446000
0x7fbb2e446000-0x7fbb2e45c000 /lib/x86_64-linux-gnu/libgcc_s.so.1
0x7fbb2e45c000-0x7fbb2e65b000 /lib/x86_64-linux-gnu/libgcc_s.so.1
0x7fbb2e65b000-0x7fbb2e65c000 /lib/x86_64-linux-gnu/libgcc_s.so.1
0x7fbb2e65c000-0x7fbb2e7ce000 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
0x7fbb2e7ce000-0x7fbb2e9ce000 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
0x7fbb2e9ce000-0x7fbb2e9d8000 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
0x7fbb2e9d8000-0x7fbb2e9da000 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
0x7fbb2e9da000-0x7fbb2e9de000
0x7fbb2e9de000-0x7fbb2ead2000 /usr/lib/x86_64-linux-gnu/libasan.so.2.0.0
0x7fbb2ead2000-0x7fbb2ecd2000 /usr/lib/x86_64-linux-gnu/libasan.so.2.0.0
0x7fbb2ecd2000-0x7fbb2ecd5000 /usr/lib/x86_64-linux-gnu/libasan.so.2.0.0
0x7fbb2ecd5000-0x7fbb2ecd6000 /usr/lib/x86_64-linux-gnu/libasan.so.2.0.0
0x7fbb2ecd6000-0x7fbb2f94b000
0x7fbb2f94b000-0x7fbb2f971000 /lib/x86_64-linux-gnu/ld-2.23.so
0x7fbb2fabc000-0x7fbb2fb5a000
0x7fbb2fb5a000-0x7fbb2fb70000
0x7fbb2fb70000-0x7fbb2fb71000 /lib/x86_64-linux-gnu/ld-2.23.so
0x7fbb2fb71000-0x7fbb2fb72000 /lib/x86_64-linux-gnu/ld-2.23.so
0x7fbb2fb72000-0x7fbb2fb73000
0x7ffe49b63000-0x7ffe49b84000 [stack]
0x7ffe49b87000-0x7ffe49b89000 [vvar]
0x7ffe49b89000-0x7ffe49b8b000 [vdso]
0xffffffffff600000-0xffffffffff601000 [vsyscall]
==5702==End of process memory map.
==5702==AddressSanitizer CHECK failed: ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix.cc:121 "(("unable to mmap" && 0)) != (0)" (0x0, 0x0)
#0 0x7fbb2ea7e631 (/usr/lib/x86_64-linux-gnu/libasan.so.2+0xa0631)
#1 0x7fbb2ea835e3 in __sanitizer::CheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0xa55e3)
#2 0x7fbb2ea8b611 (/usr/lib/x86_64-linux-gnu/libasan.so.2+0xad611)
#3 0x7fbb2ea00c0c (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x22c0c)
#4 0x7fbb2ea7767e in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9967e)
#5 0x4c508e in AP4_DataBuffer::ReallocateBuffer(unsigned int) /home/jas/Downloads/Bento4-SRC-1-5-1-628/Source/C++/Core/Ap4DataBuffer.cpp:210
#6 0x4c4d99 in AP4_DataBuffer::SetDataSize(unsigned int) /home/jas/Downloads/Bento4-SRC-1-5-1-628/Source/C++/Core/Ap4DataBuffer.cpp:151
#7 0x4a4629 in AP4_Sample::ReadData(AP4_DataBuffer&, unsigned int, unsigned int) /home/jas/Downloads/Bento4-SRC-1-5-1-628/Source/C++/Core/Ap4Sample.cpp:147
#8 0x4a4568 in AP4_Sample::ReadData(AP4_DataBuffer&) /home/jas/Downloads/Bento4-SRC-1-5-1-628/Source/C++/Core/Ap4Sample.cpp:127
#9 0x47df44 in AP4_Track::ReadSample(unsigned int, AP4_Sample&, AP4_DataBuffer&) /home/jas/Downloads/Bento4-SRC-1-5-1-628/Source/C++/Core/Ap4Track.cpp:473
#10 0x454c1a in TrackSampleReader::ReadSample(AP4_Sample&, AP4_DataBuffer&) /home/jas/Downloads/Bento4-SRC-1-5-1-628/Source/C++/Apps/Mp42Hls/Mp42Hls.cpp:219
#11 0x4584df in ReadSample /home/jas/Downloads/Bento4-SRC-1-5-1-628/Source/C++/Apps/Mp42Hls/Mp42Hls.cpp:978
#12 0x458c7c in WriteSamples /home/jas/Downloads/Bento4-SRC-1-5-1-628/Source/C++/Apps/Mp42Hls/Mp42Hls.cpp:1046
#13 0x46042f in main /home/jas/Downloads/Bento4-SRC-1-5-1-628/Source/C++/Apps/Mp42Hls/Mp42Hls.cpp:2097
#14 0x7fbb2e09c82f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
#15 0x4549e8 in _start (/home/jas/Downloads/Bento4-SRC-1-5-1-628/cmakebuild/mp42hls+0x4549e8)
```
FoundBy: wu.an.1900@gamil.com | failed to allocate LargeMmapAllocator in Ap4DataBuffer.cpp:210 at Bento4 v1.5.1-628 when running mp42hls | https://api.github.com/repos/axiomatic-systems/Bento4/issues/362/comments | 0 | 2019-01-26T04:00:07Z | 2019-01-26T04:00:07Z | https://github.com/axiomatic-systems/Bento4/issues/362 | 403,402,439 | 362 |
[
"axiomatic-systems",
"Bento4"
] | A crafted input will lead to failed allocate LargeMmapAllocator in Ap4Array.h at Bento4 1.5.1-628.
Triggered by
./mp42hls crash3.mp4
Poc
[poc1.zip](https://github.com/axiomatic-systems/Bento4/files/2795098/poc1.zip)
Bento4 Version 1.5.1-628
The ASAN information is as follows:
```
==56305==ERROR: AddressSanitizer failed to allocate 0xc00003000 (51539619840) bytes of LargeMmapAllocator (errno: 12)
==56305==Process memory map follows:
0x000000400000-0x0000007b4000 /home/jas/Downloads/Bento4-SRC-1-5-1-628/cmakebuild/mp42hls
0x0000009b4000-0x0000009b5000 /home/jas/Downloads/Bento4-SRC-1-5-1-628/cmakebuild/mp42hls
0x0000009b5000-0x000000b5b000 /home/jas/Downloads/Bento4-SRC-1-5-1-628/cmakebuild/mp42hls
0x00007fff7000-0x00008fff7000
0x00008fff7000-0x02008fff7000
0x02008fff7000-0x10007fff8000
0x600000000000-0x602000000000
0x602000000000-0x602000010000
0x602000010000-0x603000000000
0x603000000000-0x603000010000
0x603000010000-0x604000000000
0x604000000000-0x604000010000
0x604000010000-0x606000000000
0x606000000000-0x606000010000
0x606000010000-0x607000000000
0x607000000000-0x607000010000
0x607000010000-0x608000000000
0x608000000000-0x608000010000
0x608000010000-0x60c000000000
0x60c000000000-0x60c000010000
0x60c000010000-0x60d000000000
0x60d000000000-0x60d000010000
0x60d000010000-0x60e000000000
0x60e000000000-0x60e000010000
0x60e000010000-0x611000000000
0x611000000000-0x611000010000
0x611000010000-0x616000000000
0x616000000000-0x616000020000
0x616000020000-0x619000000000
0x619000000000-0x619000020000
0x619000020000-0x621000000000
0x621000000000-0x621000020000
0x621000020000-0x631000000000
0x631000000000-0x631000030000
0x631000030000-0x640000000000
0x640000000000-0x640000003000
0x7ff016000000-0x7ff016100000
0x7ff016200000-0x7ff016300000
0x7ff01635e000-0x7ff0186b0000
0x7ff0186b0000-0x7ff0187b8000 /lib/x86_64-linux-gnu/libm-2.23.so
0x7ff0187b8000-0x7ff0189b7000 /lib/x86_64-linux-gnu/libm-2.23.so
0x7ff0189b7000-0x7ff0189b8000 /lib/x86_64-linux-gnu/libm-2.23.so
0x7ff0189b8000-0x7ff0189b9000 /lib/x86_64-linux-gnu/libm-2.23.so
0x7ff0189b9000-0x7ff0189bc000 /lib/x86_64-linux-gnu/libdl-2.23.so
0x7ff0189bc000-0x7ff018bbb000 /lib/x86_64-linux-gnu/libdl-2.23.so
0x7ff018bbb000-0x7ff018bbc000 /lib/x86_64-linux-gnu/libdl-2.23.so
0x7ff018bbc000-0x7ff018bbd000 /lib/x86_64-linux-gnu/libdl-2.23.so
0x7ff018bbd000-0x7ff018bd5000 /lib/x86_64-linux-gnu/libpthread-2.23.so
0x7ff018bd5000-0x7ff018dd4000 /lib/x86_64-linux-gnu/libpthread-2.23.so
0x7ff018dd4000-0x7ff018dd5000 /lib/x86_64-linux-gnu/libpthread-2.23.so
0x7ff018dd5000-0x7ff018dd6000 /lib/x86_64-linux-gnu/libpthread-2.23.so
0x7ff018dd6000-0x7ff018dda000
0x7ff018dda000-0x7ff018f9a000 /lib/x86_64-linux-gnu/libc-2.23.so
0x7ff018f9a000-0x7ff01919a000 /lib/x86_64-linux-gnu/libc-2.23.so
0x7ff01919a000-0x7ff01919e000 /lib/x86_64-linux-gnu/libc-2.23.so
0x7ff01919e000-0x7ff0191a0000 /lib/x86_64-linux-gnu/libc-2.23.so
0x7ff0191a0000-0x7ff0191a4000
0x7ff0191a4000-0x7ff0191ba000 /lib/x86_64-linux-gnu/libgcc_s.so.1
0x7ff0191ba000-0x7ff0193b9000 /lib/x86_64-linux-gnu/libgcc_s.so.1
0x7ff0193b9000-0x7ff0193ba000 /lib/x86_64-linux-gnu/libgcc_s.so.1
0x7ff0193ba000-0x7ff01952c000 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
0x7ff01952c000-0x7ff01972c000 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
0x7ff01972c000-0x7ff019736000 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
0x7ff019736000-0x7ff019738000 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
0x7ff019738000-0x7ff01973c000
0x7ff01973c000-0x7ff019830000 /usr/lib/x86_64-linux-gnu/libasan.so.2.0.0
0x7ff019830000-0x7ff019a30000 /usr/lib/x86_64-linux-gnu/libasan.so.2.0.0
0x7ff019a30000-0x7ff019a33000 /usr/lib/x86_64-linux-gnu/libasan.so.2.0.0
0x7ff019a33000-0x7ff019a34000 /usr/lib/x86_64-linux-gnu/libasan.so.2.0.0
0x7ff019a34000-0x7ff01a6a9000
0x7ff01a6a9000-0x7ff01a6cf000 /lib/x86_64-linux-gnu/ld-2.23.so
0x7ff01a81a000-0x7ff01a8b8000
0x7ff01a8b8000-0x7ff01a8ce000
0x7ff01a8ce000-0x7ff01a8cf000 /lib/x86_64-linux-gnu/ld-2.23.so
0x7ff01a8cf000-0x7ff01a8d0000 /lib/x86_64-linux-gnu/ld-2.23.so
0x7ff01a8d0000-0x7ff01a8d1000
0x7ffc5d59c000-0x7ffc5d5bd000 [stack]
0x7ffc5d5c2000-0x7ffc5d5c4000 [vvar]
0x7ffc5d5c4000-0x7ffc5d5c6000 [vdso]
0xffffffffff600000-0xffffffffff601000 [vsyscall]
==56305==End of process memory map.
==56305==AddressSanitizer CHECK failed: ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix.cc:121 "(("unable to mmap" && 0)) != (0)" (0x0, 0x0)
#0 0x7ff0197dc631 (/usr/lib/x86_64-linux-gnu/libasan.so.2+0xa0631)
#1 0x7ff0197e15e3 in __sanitizer::CheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0xa55e3)
#2 0x7ff0197e9611 (/usr/lib/x86_64-linux-gnu/libasan.so.2+0xad611)
#3 0x7ff01975ec0c (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x22c0c)
#4 0x7ff0197d54fe in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x994fe)
#5 0x550cef in AP4_Array<AP4_ElstEntry>::EnsureCapacity(unsigned int) /home/jas/Downloads/Bento4-SRC-1-5-1-628/Source/C++/Core/Ap4Array.h:172
#6 0x550017 in AP4_ElstAtom::AP4_ElstAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /home/jas/Downloads/Bento4-SRC-1-5-1-628/Source/C++/Core/Ap4ElstAtom.cpp:73
#7 0x54fd41 in AP4_ElstAtom::Create(unsigned int, AP4_ByteStream&) /home/jas/Downloads/Bento4-SRC-1-5-1-628/Source/C++/Core/Ap4ElstAtom.cpp:51
#8 0x522fcb in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/jas/Downloads/Bento4-SRC-1-5-1-628/Source/C++/Core/Ap4AtomFactory.cpp:545
#9 0x520e72 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/jas/Downloads/Bento4-SRC-1-5-1-628/Source/C++/Core/Ap4AtomFactory.cpp:221
#10 0x4891c3 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/jas/Downloads/Bento4-SRC-1-5-1-628/Source/C++/Core/Ap4ContainerAtom.cpp:194
#11 0x488c78 in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/jas/Downloads/Bento4-SRC-1-5-1-628/Source/C++/Core/Ap4ContainerAtom.cpp:139
#12 0x488805 in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/jas/Downloads/Bento4-SRC-1-5-1-628/Source/C++/Core/Ap4ContainerAtom.cpp:88
#13 0x523eba in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/jas/Downloads/Bento4-SRC-1-5-1-628/Source/C++/Core/Ap4AtomFactory.cpp:764
#14 0x520e72 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/jas/Downloads/Bento4-SRC-1-5-1-628/Source/C++/Core/Ap4AtomFactory.cpp:221
#15 0x4891c3 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/jas/Downloads/Bento4-SRC-1-5-1-628/Source/C++/Core/Ap4ContainerAtom.cpp:194
#16 0x488c78 in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/jas/Downloads/Bento4-SRC-1-5-1-628/Source/C++/Core/Ap4ContainerAtom.cpp:139
#17 0x4a2174 in AP4_TrakAtom::AP4_TrakAtom(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/jas/Downloads/Bento4-SRC-1-5-1-628/Source/C++/Core/Ap4TrakAtom.cpp:165
#18 0x524ab5 in AP4_TrakAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/jas/Downloads/Bento4-SRC-1-5-1-628/Source/C++/Core/Ap4TrakAtom.h:58
#19 0x52231f in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/jas/Downloads/Bento4-SRC-1-5-1-628/Source/C++/Core/Ap4AtomFactory.cpp:379
#20 0x520e72 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/jas/Downloads/Bento4-SRC-1-5-1-628/Source/C++/Core/Ap4AtomFactory.cpp:221
#21 0x4891c3 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/jas/Downloads/Bento4-SRC-1-5-1-628/Source/C++/Core/Ap4ContainerAtom.cpp:194
#22 0x488c78 in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/jas/Downloads/Bento4-SRC-1-5-1-628/Source/C++/Core/Ap4ContainerAtom.cpp:139
#23 0x530ca3 in AP4_MoovAtom::AP4_MoovAtom(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/jas/Downloads/Bento4-SRC-1-5-1-628/Source/C++/Core/Ap4MoovAtom.cpp:80
#24 0x524a59 in AP4_MoovAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/jas/Downloads/Bento4-SRC-1-5-1-628/Source/C++/Core/Ap4MoovAtom.h:56
#25 0x522198 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/jas/Downloads/Bento4-SRC-1-5-1-628/Source/C++/Core/Ap4AtomFactory.cpp:359
#26 0x520e72 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/jas/Downloads/Bento4-SRC-1-5-1-628/Source/C++/Core/Ap4AtomFactory.cpp:221
#27 0x5207c7 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, AP4_Atom*&) /home/jas/Downloads/Bento4-SRC-1-5-1-628/Source/C++/Core/Ap4AtomFactory.cpp:151
#28 0x48f2c5 in AP4_File::ParseStream(AP4_ByteStream&, AP4_AtomFactory&, bool) /home/jas/Downloads/Bento4-SRC-1-5-1-628/Source/C++/Core/Ap4File.cpp:104
#29 0x48ef34 in AP4_File::AP4_File(AP4_ByteStream&, bool) /home/jas/Downloads/Bento4-SRC-1-5-1-628/Source/C++/Core/Ap4File.cpp:78
#30 0x45eebd in main /home/jas/Downloads/Bento4-SRC-1-5-1-628/Source/C++/Apps/Mp42Hls/Mp42Hls.cpp:1846
#31 0x7ff018dfa82f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
#32 0x4549e8 in _start (/home/jas/Downloads/Bento4-SRC-1-5-1-628/cmakebuild/mp42hls+0x4549e8)
```
FoundBy: wu.an.1900@gamil.com | failed to allocate LargeMmapAllocator in Ap4Array.h at Bento4 v1.5.1-628 when running mp42hls | https://api.github.com/repos/axiomatic-systems/Bento4/issues/361/comments | 1 | 2019-01-25T07:49:22Z | 2019-12-26T14:50:59Z | https://github.com/axiomatic-systems/Bento4/issues/361 | 403,042,062 | 361 |
[
"axiomatic-systems",
"Bento4"
] | Hi @barbibulle
As mentioned in issue no #133, am also getting same error when doing hls segmentation. Here is the command and verbose debug info
```
/opt/bento4/bin/mp4hls -v -d -f -o fhd_265_23/hls --audio-format=ts --segment-duration=6 --master-playlist-name=fhd_265_23.m3u8 --media-playlist-name=chunk.m3u8 fhd_265_23.mp4
```
Here is the entire trace and debug info with verbose
> Parsing media file fhd_265_23.mp4
> Processing MP4 file fhd_265_23.mp4
> found 6 segments
> COMMAND: /opt/bento4/utils/../bin/mp4info --fast --format json fhd_265_23.mp4 ['/opt/bento4/utils/../bin/mp4info', '--fast', '--format', 'json', 'fhd_265_23.mp4']
> COMMAND: /opt/bento4/utils/../bin/mp4dump --verbosity 1 --format json fhd_265_23.mp4 ['/opt/bento4/utils/../bin/mp4dump', '--verbosity', '1', '--format', 'json', 'fhd_265_23.mp4']
> Track ID = 1
> Segment Count = 2
> Type = video
> Sample Count = 1499
> Average segment bitrate = 29186982
> Max segment bitrate = 27063578
> Required bandwidth = 27063578
> Average segment duration = 30.76
> Track ID = 2
> Segment Count = 3
> Type = audio
> Sample Count = 2813
> Average segment bitrate = 141185
> Max segment bitrate = 141195
> Required bandwidth = 141178
> Average segment duration = 30.7626666667
> Track ID = 3
> Segment Count = 1
> Type = other
> Sample Count = 1
> Average segment bitrate = 14
> Max segment bitrate = 14
> Required bandwidth = 14
> Average segment duration = 59.96
> Processing fhd_265_23.mp4
> COMMAND: /opt/bento4/utils/../bin/mp42hls --hls-version 4 --iframe-index-filename fhd_265_23/hls/media-1/iframes.m3u8 --show-info --segment-url-template segment-%d.ts --segment-filename-template fhd_265_23/hls/media-1/segment-%d.ts --segment-duration 6 --index-filename fhd_265_23/hls/media-1/chunk.m3u8 --encryption-key-uri key.bin fhd_265_23.mp4 ['/opt/bento4/utils/../bin/mp42hls', '--hls-version', '4', '--iframe-index-filename', 'fhd_265_23/hls/media-1/iframes.m3u8', '--show-info', '--segment-url-template', 'segment-%d.ts', '--segment-filename-template', 'fhd_265_23/hls/media-1/segment-%d.ts', '--segment-duration', '6', '--index-filename', 'fhd_265_23/hls/media-1/chunk.m3u8', '--encryption-key-uri', 'key.bin', 'fhd_265_23.mp4']
> ERROR: failed to write samples (-23)
> Traceback (most recent call last):
> File "/opt/bento4/bin/../utils/mp4-hls.py", line 652, in <module>
> main()
> File "/opt/bento4/bin/../utils/mp4-hls.py", line 642, in main
> OutputHls(options, media_sources)
> File "/opt/bento4/bin/../utils/mp4-hls.py", line 307, in OutputHls
> ProcessSource(options, media_info, out_dir)
> File "/opt/bento4/bin/../utils/mp4-hls.py", line 234, in ProcessSource
> **kwargs)
> File "/opt/bento4/utils/mp4utils.py", line 303, in Mp42Hls
> return Bento4Command(options, 'mp42hls', input_filename, *args, **kwargs)
> File "/opt/bento4/utils/mp4utils.py", line 282, in Bento4Command
> raise Exception(message)
> Exception: binary tool failed with error 1 - ['/opt/bento4/utils/../bin/mp42hls', '--hls-version', '4', '--iframe-index-filename', 'fhd_265_23/hls/media-1/iframes.m3u8', '--show-info', '--segment-url-template', 'segment-%d.ts', '--segment-filename-template', 'fhd_265_23/hls/media-1/segment-%d.ts', '--segment-duration', '6', '--index-filename', 'fhd_265_23/hls/media-1/chunk.m3u8', '--encryption-key-uri', 'key.bin', 'fhd_265_23.mp4']
Also, is it possible to use skm with hls like we use in-case of mp4dash??
| mp4-hls.py: ERROR: failed to write samples (-23) | https://api.github.com/repos/axiomatic-systems/Bento4/issues/360/comments | 3 | 2019-01-18T09:37:58Z | 2019-07-03T13:37:39Z | https://github.com/axiomatic-systems/Bento4/issues/360 | 400,644,212 | 360 |
[
"axiomatic-systems",
"Bento4"
] | there is memory leaks in Ap4String.cpp
./mp42aac poc /dev/null
=================================================================
==15810==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 96 byte(s) in 1 object(s) allocated from:
#0 0x522860 in operator new(unsigned long) (/root/apps/Bento4/mp42aac+0x522860)
#1 0x5c80a5 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /root/apps/Bento4/Source/C++/Core/Ap4DescriptorFactory.cpp:122:22
#2 0x5f8687 in AP4_EsdsAtom::AP4_EsdsAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /root/apps/Bento4/Source/C++/Core/Ap4EsdsAtom.cpp:76:9
#3 0x5f8687 in AP4_EsdsAtom::Create(unsigned int, AP4_ByteStream&) /root/apps/Bento4/Source/C++/Core/Ap4EsdsAtom.cpp:52
#4 0x5e14cb in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /root/apps/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:474:20
#5 0x5ddaa0 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /root/apps/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:221:14
#6 0x5d6aa5 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /root/apps/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:194:12
#7 0x56699d in AP4_SampleEntry::Read(AP4_ByteStream&, AP4_AtomFactory&) /root/apps/Bento4/Source/C++/Core/Ap4SampleEntry.cpp:115:9
Indirect leak of 32 byte(s) in 1 object(s) allocated from:
#0 0x5229e0 in operator new[](unsigned long) (/root/apps/Bento4/mp42aac+0x5229e0)
#1 0x557d0a in AP4_String::Assign(char const*, unsigned int) /root/apps/Bento4/Source/C++/Core/Ap4String.cpp:165:15
SUMMARY: AddressSanitizer: 128 byte(s) leaked in 2 allocation(s).
[bento4-memory-leak-AP4_String.zip](https://github.com/axiomatic-systems/Bento4/files/2746334/bento4-memory-leak-AP4_String.zip)
| memory leaks in Ap4String.cpp | https://api.github.com/repos/axiomatic-systems/Bento4/issues/357/comments | 1 | 2019-01-10T17:00:31Z | 2019-01-12T09:36:13Z | https://github.com/axiomatic-systems/Bento4/issues/357 | 397,925,621 | 357 |
[
"axiomatic-systems",
"Bento4"
] | Denial of service,when use aac2mp4 to convert audio to mp4.
Triggered by ./aac2mp4 poc /dev/null
it will be hanged.
[bento-hang-poc.zip](https://github.com/axiomatic-systems/Bento4/files/2746296/bento-hang-poc.zip)
| Denial of service,when use aac2mp4 to convert audio to mp4 | https://api.github.com/repos/axiomatic-systems/Bento4/issues/356/comments | 0 | 2019-01-10T16:50:56Z | 2019-01-10T16:50:56Z | https://github.com/axiomatic-systems/Bento4/issues/356 | 397,921,430 | 356 |
[
"axiomatic-systems",
"Bento4"
] | Hi, there.
A Heap-buffer-overflow problem was discovered in function AP4_BitStream::WriteBytes(unsigned char const*, unsigned int) in Ap4BitStream.cpp. A crafted input can cause segment faults and I have confirmed them with address sanitizer too.
Here are the POC files. Please use "./avcinfo $POC" to reproduce the error.
[POC.zip](https://github.com/axiomatic-systems/Bento4/files/2719284/POC.zip)
```
=================================================================
==5498==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60200000eff4 at pc 0x0000004a817d bp 0x7ffddfab9910 sp 0x7ffddfab90c0
READ of size 8 at 0x60200000eff4 thread T0
#0 0x4a817c in __asan_memcpy (/Bento4/Build/avcinfo+0x4a817c)
#1 0x4f90ab in AP4_BitStream::WriteBytes(unsigned char const*, unsigned int) /Bento4/Source/C++/Codecs/Ap4BitStream.cpp:133:9
#2 0x4f4829 in PrintSliceInfo(unsigned char const*) /Bento4/Source/C++/Apps/AvcInfo/AvcInfo.cpp:84:5
#3 0x4f40a3 in main /Bento4/Source/C++/Apps/AvcInfo/AvcInfo.cpp:171:21
#4 0x7f9e01e3982f in __libc_start_main /build/glibc-Cl5G7W/glibc-2.23/csu/../csu/libc-start.c:291
#5 0x41e318 in _start (/Bento4/Build/avcinfo+0x41e318)
0x60200000eff4 is located 0 bytes to the right of 4-byte region [0x60200000eff0,0x60200000eff4)
allocated by thread T0 here:
#0 0x4efb90 in operator new[](unsigned long) (/Bento4/Build/avcinfo+0x4efb90)
#1 0x51b622 in AP4_DataBuffer::ReallocateBuffer(unsigned int) /Bento4/Source/C++/Core/Ap4DataBuffer.cpp:210:28
#2 0x51bb39 in AP4_DataBuffer::SetDataSize(unsigned int) /Bento4/Source/C++/Core/Ap4DataBuffer.cpp:151:33
#3 0x4f786b in AP4_NalParser::Feed(void const*, unsigned int, unsigned int&, AP4_DataBuffer const*&, bool) /Bento4/Source/C++/Codecs/Ap4NalParser.cpp:188:9
#4 0x4f39f5 in main /Bento4/Source/C++/Apps/AvcInfo/AvcInfo.cpp:150:22
#5 0x7f9e01e3982f in __libc_start_main /build/glibc-Cl5G7W/glibc-2.23/csu/../csu/libc-start.c:291
SUMMARY: AddressSanitizer: heap-buffer-overflow (/Bento4/Build/avcinfo+0x4a817c) in __asan_memcpy
Shadow bytes around the buggy address:
0x0c047fff9da0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9db0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9dc0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9dd0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9de0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
=>0x0c047fff9df0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa[04]fa
0x0c047fff9e00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9e10: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9e20: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9e30: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9e40: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
Addressable: 00
Partially addressable: 01 02 03 04 05 06 07
Heap left redzone: fa
Heap right redzone: fb
Freed heap region: fd
Stack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
Stack partial redzone: f4
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
==5498==ABORTING
Aborted
```
$ git log
```
commit 5a0ce8023ea312a2d87c194049106e893ed57767
Merge: 91d2bc6 bab5bb9
Author: Gilles Boccon-Gibod <bok@bok.net>
Date: Fri Dec 28 22:42:38 2018 -0800
Merge pull request #347 from orivej/apps
Let Scons and CMake build all apps
``` | When running avcinfo, a heap-buffer-overflow occur in function AP4_BitStream::WriteBytes in Ap4BitStream.cpp | https://api.github.com/repos/axiomatic-systems/Bento4/issues/355/comments | 0 | 2019-01-01T11:33:09Z | 2019-01-01T11:33:09Z | https://github.com/axiomatic-systems/Bento4/issues/355 | 395,075,442 | 355 |
[
"axiomatic-systems",
"Bento4"
] | Hi, there.
I test the program at the master branch.
```
commit 5a0ce8023ea312a2d87c194049106e893ed57767
Merge: 91d2bc6 bab5bb9
Author: Gilles Boccon-Gibod <bok@bok.net>
Date: Fri Dec 28 22:42:38 2018 -0800
Merge pull request #347 from orivej/apps
Let Scons and CMake build all apps
```
An Out of Memory problem was discovered in function AP4_Array<AP4_CttsTableEntry>::EnsureCapacity in Ap4Array.h. The program tries to allocate with a large number size( 0x6eff83000 bytes) of memory.
Please use the "./mp4dump $POC" to reproduce the bug.
[POC.zip](https://github.com/axiomatic-systems/Bento4/files/2719261/POC.zip)
| when running mp4dump, there is a out-of-memory problem in AP4_Array<AP4_CttsTableEntry>::EnsureCapacity in Ap4Array.h | https://api.github.com/repos/axiomatic-systems/Bento4/issues/354/comments | 1 | 2019-01-01T10:46:25Z | 2019-01-01T10:46:50Z | https://github.com/axiomatic-systems/Bento4/issues/354 | 395,072,870 | 354 |
[
"axiomatic-systems",
"Bento4"
] | Hi, there.
A Global-buffer-overflow problem was discovered in function AP4_MemoryByteStream::WritePartial in Ap4ByteStream.cpp. A crafted input can cause segment faults and I have confirmed them with address sanitizer too.
Here are the POC files. Please use "./mp42hls $POC" to reproduce the error.
[POC.zip](https://github.com/axiomatic-systems/Bento4/files/2719244/POC.zip)
The ASAN dumps the stack trace as follows:
```
=================================================================
==2704==ERROR: AddressSanitizer: global-buffer-overflow on address 0x0000017a8da1 at pc 0x0000004ed4dd bp 0x7ffe503a79b0 sp 0x7ffe503a7160
READ of size 249 at 0x0000017a8da1 thread T0
#0 0x4ed4dc in __asan_memcpy (/home/wencheng/Documents/Experiment/Bento4/Build/mp42hls+0x4ed4dc)
#1 0x6dbecd in AP4_MemoryByteStream::WritePartial(void const*, unsigned int, unsigned int&) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4ByteStream.cpp:783:5
#2 0x6d4606 in AP4_ByteStream::Write(void const*, unsigned int) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4ByteStream.cpp:77:29
#3 0x6ceb9b in AP4_HdlrAtom::WriteFields(AP4_ByteStream&) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4HdlrAtom.cpp:141:22
#4 0x70e238 in AP4_Atom::Write(AP4_ByteStream&) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4Atom.cpp:229:14
#5 0x70ed8b in AP4_Atom::Clone() /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4Atom.cpp:316:9
#6 0x5880d1 in AP4_ContainerAtom::Clone() /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:172:33
#7 0x5880d1 in AP4_ContainerAtom::Clone() /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:172:33
#8 0x5880d1 in AP4_ContainerAtom::Clone() /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:172:33
#9 0x5880d1 in AP4_ContainerAtom::Clone() /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:172:33
#10 0x5880d1 in AP4_ContainerAtom::Clone() /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:172:33
#11 0x5880d1 in AP4_ContainerAtom::Clone() /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:172:33
#12 0x5880d1 in AP4_ContainerAtom::Clone() /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:172:33
#13 0x6f545e in AP4_SampleDescription::AP4_SampleDescription(AP4_SampleDescription::Type, unsigned int, AP4_AtomParent*) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4SampleDescription.cpp:128:35
#14 0x6f9175 in AP4_AvcSampleDescription::AP4_AvcSampleDescription(unsigned int, unsigned short, unsigned short, unsigned short, char const*, AP4_AtomParent*) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4SampleDescription.cpp:352:5
#15 0x5abd59 in AP4_AvcSampleEntry::ToSampleDescription() /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4SampleEntry.cpp:1022:16
#16 0x72643c in AP4_StsdAtom::GetSampleDescription(unsigned int) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4StsdAtom.cpp:181:39
#17 0x61b89c in AP4_AtomSampleTable::GetSampleDescription(unsigned int) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4AtomSampleTable.cpp:207:25
#18 0x6090e9 in AP4_Track::GetSampleDescription(unsigned int) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4Track.cpp:445:28
#19 0x5478ec in main /home/wencheng/Documents/Experiment/Bento4/Source/C++/Apps/Mp42Hls/Mp42Hls.cpp:2036:34
#20 0x7fe17ae1b82f in __libc_start_main /build/glibc-Cl5G7W/glibc-2.23/csu/../csu/libc-start.c:291
#21 0x463678 in _start (/home/wencheng/Documents/Experiment/Bento4/Build/mp42hls+0x463678)
0x0000017a8da1 is located 63 bytes to the left of global variable 'AP4_MetaData::KeyInfos' defined in '/home/wencheng/Documents/Experiment/Bento4/Source/C++/MetaData/Ap4MetaData.cpp:100:48' (0x17a8de0) of size 24
0x0000017a8da1 is located 0 bytes to the right of global variable 'AP4_String::EmptyString' defined in '/home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4String.cpp:39:18' (0x17a8da0) of size 1
'AP4_String::EmptyString' is ascii string ''
SUMMARY: AddressSanitizer: global-buffer-overflow (/home/wencheng/Documents/Experiment/Bento4/Build/mp42hls+0x4ed4dc) in __asan_memcpy
Shadow bytes around the buggy address:
0x0000802ed160: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0000802ed170: 00 00 00 00 f9 f9 f9 f9 00 00 00 00 00 00 00 f9
0x0000802ed180: f9 f9 f9 f9 00 00 f9 f9 f9 f9 f9 f9 00 f9 f9 f9
0x0000802ed190: f9 f9 f9 f9 00 00 00 00 00 00 00 00 00 f9 f9 f9
0x0000802ed1a0: f9 f9 f9 f9 00 00 00 00 00 00 00 00 00 f9 f9 f9
=>0x0000802ed1b0: f9 f9 f9 f9[01]f9 f9 f9 f9 f9 f9 f9 00 00 00 f9
0x0000802ed1c0: f9 f9 f9 f9 00 00 00 00 00 00 00 00 00 00 00 00
0x0000802ed1d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0000802ed1e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0000802ed1f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0000802ed200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Shadow byte legend (one shadow byte represents 8 application bytes):
Addressable: 00
Partially addressable: 01 02 03 04 05 06 07
Heap left redzone: fa
Heap right redzone: fb
Freed heap region: fd
Stack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
Stack partial redzone: f4
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
==2704==ABORTING
```
$ git log
```
commit 5a0ce8023ea312a2d87c194049106e893ed57767
Merge: 91d2bc6 bab5bb9
Author: Gilles Boccon-Gibod <bok@bok.net>
Date: Fri Dec 28 22:42:38 2018 -0800
Merge pull request #347 from orivej/apps
Let Scons and CMake build all apps
``` | Global-buffer-overflow problem in AP4_MemoryByteStream::WritePartial in Ap4ByteStream.cpp | https://api.github.com/repos/axiomatic-systems/Bento4/issues/353/comments | 0 | 2019-01-01T10:04:17Z | 2019-01-01T10:04:17Z | https://github.com/axiomatic-systems/Bento4/issues/353 | 395,070,507 | 353 |
[
"axiomatic-systems",
"Bento4"
] | Hi, there.
An Invalid Memory Address Deference problem was discovered in function AP4_DataBuffer::SetData in Ap4DataBuffer.cpp. A crafted input can cause segment faults and I have confirmed them with address sanitizer too.
Here are the POC files. Please use "./mp42hls $POC" to reproduce the error.
[POC.zip](https://github.com/axiomatic-systems/Bento4/files/2719239/POC.zip)
The ASAN dumps the stack trace of POC1 as follows:
```
ASAN:DEADLYSIGNAL
=================================================================
==2501==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x0000004ed456 bp 0x7ffd5ea70dd0 sp 0x7ffd5ea70570 T0)
#0 0x4ed455 in __asan_memcpy (/home/wencheng/Documents/Experiment/Bento4/Build/mp42hls+0x4ed455)
#1 0x5d5056 in AP4_DataBuffer::SetData(unsigned char const*, unsigned int) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4DataBuffer.cpp:175:5
#2 0x7e9155 in AP4_AvccAtom::AP4_AvccAtom(unsigned int, unsigned char const*) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4AvccAtom.cpp:173:17
#3 0x7e6158 in AP4_AvccAtom::Create(unsigned int, AP4_ByteStream&) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4AvccAtom.cpp:95:16
#4 0x5913d5 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:479:20
#5 0x58ccae in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:221:14
#6 0x58755f in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:194:12
#7 0x5a098f in AP4_SampleEntry::Read(AP4_ByteStream&, AP4_AtomFactory&) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4SampleEntry.cpp:115:9
#8 0x5a8b54 in AP4_VisualSampleEntry::AP4_VisualSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4SampleEntry.cpp:742:5
#9 0x5ab8e1 in AP4_AvcSampleEntry::AP4_AvcSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4SampleEntry.cpp:994:5
#10 0x58e570 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:306:24
#11 0x58ccae in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:221:14
#12 0x724639 in AP4_StsdAtom::AP4_StsdAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4StsdAtom.cpp:101:13
#13 0x7236c8 in AP4_StsdAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4StsdAtom.cpp:57:16
#14 0x590917 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:424:20
#15 0x58ccae in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:221:14
#16 0x58755f in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:194:12
#17 0x587119 in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:139:5
#18 0x58641b in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:88:20
#19 0x594901 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:764:20
#20 0x58ccae in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:221:14
#21 0x58755f in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:194:12
#22 0x587119 in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:139:5
#23 0x58641b in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:88:20
#24 0x594901 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:764:20
#25 0x58ccae in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:221:14
#26 0x58755f in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:194:12
#27 0x587119 in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:139:5
#28 0x58641b in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:88:20
#29 0x594901 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:764:20
#30 0x58ccae in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:221:14
#31 0x58755f in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:194:12
#32 0x587119 in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:139:5
#33 0x6afc5b in AP4_TrakAtom::AP4_TrakAtom(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4TrakAtom.cpp:165:5
#34 0x596d20 in AP4_TrakAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4TrakAtom.h:58:20
#35 0x590046 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:379:20
#36 0x58ccae in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:221:14
#37 0x58755f in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:194:12
#38 0x587119 in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:139:5
#39 0x6d125d in AP4_MoovAtom::AP4_MoovAtom(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4MoovAtom.cpp:79:5
#40 0x596bc0 in AP4_MoovAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4MoovAtom.h:56:20
#41 0x58fc57 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:359:20
#42 0x58ccae in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:221:14
#43 0x58bc37 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, AP4_Atom*&) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:151:12
#44 0x757fdd in AP4_File::ParseStream(AP4_ByteStream&, AP4_AtomFactory&, bool) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4File.cpp:104:12
#45 0x758aaf in AP4_File::AP4_File(AP4_ByteStream&, bool) /home/wencheng/Documents/Experiment/Bento4/Source/C++/Core/Ap4File.cpp:78:5
#46 0x544922 in main /home/wencheng/Documents/Experiment/Bento4/Source/C++/Apps/Mp42Hls/Mp42Hls.cpp:1846:32
#47 0x7f918d14a82f in __libc_start_main /build/glibc-Cl5G7W/glibc-2.23/csu/../csu/libc-start.c:291
#48 0x463678 in _start (/home/wencheng/Documents/Experiment/Bento4/Build/mp42hls+0x463678)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/home/wencheng/Documents/Experiment/Bento4/Build/mp42hls+0x4ed455) in __asan_memcpy
==2501==ABORTING
```
$ git log
```
commit 5a0ce8023ea312a2d87c194049106e893ed57767
Merge: 91d2bc6 bab5bb9
Author: Gilles Boccon-Gibod <bok@bok.net>
Date: Fri Dec 28 22:42:38 2018 -0800
Merge pull request #347 from orivej/apps
Let Scons and CMake build all apps
``` | An Invalid Memory Address Deference in function AP4_DataBuffer::SetData in Ap4DataBuffer.cpp | https://api.github.com/repos/axiomatic-systems/Bento4/issues/352/comments | 0 | 2019-01-01T09:57:30Z | 2019-01-01T09:59:29Z | https://github.com/axiomatic-systems/Bento4/issues/352 | 395,070,157 | 352 |
[
"axiomatic-systems",
"Bento4"
] | Hi there,
Multiple Assertion failed were discovered in AP4_AtomListWriter::Action(AP4_Atom *) in Ap4Atom.cpp
Here are the POC files. Please use "./mp42hls $POC" to reproduce the error.
[POC.zip](https://github.com/axiomatic-systems/Bento4/files/2719232/POC.zip)
The output were shown as follow:
```
Bento4/Source/C++/Core/Ap4Atom.cpp:759: virtual AP4_Result AP4_AtomListWriter::Action(AP4_Atom *) const: Assertion `bytes_written <= atom->GetSize()' failed.
Aborted (core dumped)
``` | Multiple Assertion failed were discovered in AP4_AtomListWriter::Action(AP4_Atom *) in Ap4Atom.cpp | https://api.github.com/repos/axiomatic-systems/Bento4/issues/351/comments | 3 | 2019-01-01T09:47:39Z | 2019-07-24T08:35:38Z | https://github.com/axiomatic-systems/Bento4/issues/351 | 395,069,674 | 351 |
[
"axiomatic-systems",
"Bento4"
] | A crafted input will lead to Memory allocation failed in Ap4StcoAtom.cpp at Bento4 1.5.1-627
Triggered by
./mp42hls crash7.mp4
Poc
[crash7.mp4.zip](https://github.com/axiomatic-systems/Bento4/files/2718552/crash7.mp4.zip)
Bento4 Version 1.5.1-627
The ASAN information is as follows:
```
==10432==ERROR: AddressSanitizer failed to allocate 0x100002000 (4294975488) bytes of LargeMmapAllocator (error code: 12)
==10432==Process memory map follows:
0x00007fff7000-0x00008fff7000
0x00008fff7000-0x02008fff7000
0x02008fff7000-0x10007fff8000
0x561a5fbfc000-0x561a602a2000 /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/cmakebuild/mp42hls
0x561a604a1000-0x561a604ab000 /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/cmakebuild/mp42hls
0x561a604ab000-0x561a6067f000 /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/cmakebuild/mp42hls
0x600000000000-0x602000000000
0x602000000000-0x602000010000
0x602000010000-0x602e00000000
0x602e00000000-0x602e00010000
0x602e00010000-0x603000000000
0x603000000000-0x603000010000
0x603000010000-0x603e00000000
0x603e00000000-0x603e00010000
0x603e00010000-0x604000000000
0x604000000000-0x604000010000
0x604000010000-0x604e00000000
0x604e00000000-0x604e00010000
0x604e00010000-0x606000000000
0x606000000000-0x606000010000
0x606000010000-0x606e00000000
0x606e00000000-0x606e00010000
0x606e00010000-0x607000000000
0x607000000000-0x607000010000
0x607000010000-0x607e00000000
0x607e00000000-0x607e00010000
0x607e00010000-0x608000000000
0x608000000000-0x608000010000
0x608000010000-0x608e00000000
0x608e00000000-0x608e00010000
0x608e00010000-0x60b000000000
0x60b000000000-0x60b000010000
0x60b000010000-0x60be00000000
0x60be00000000-0x60be00010000
0x60be00010000-0x60c000000000
0x60c000000000-0x60c000010000
0x60c000010000-0x60ce00000000
0x60ce00000000-0x60ce00010000
0x60ce00010000-0x60d000000000
0x60d000000000-0x60d000010000
0x60d000010000-0x60de00000000
0x60de00000000-0x60de00010000
0x60de00010000-0x60e000000000
0x60e000000000-0x60e000010000
0x60e000010000-0x60ee00000000
0x60ee00000000-0x60ee00010000
0x60ee00010000-0x611000000000
0x611000000000-0x611000010000
0x611000010000-0x611e00000000
0x611e00000000-0x611e00010000
0x611e00010000-0x615000000000
0x615000000000-0x615000010000
0x615000010000-0x615e00000000
0x615e00000000-0x615e00010000
0x615e00010000-0x616000000000
0x616000000000-0x616000010000
0x616000010000-0x616e00000000
0x616e00000000-0x616e00010000
0x616e00010000-0x619000000000
0x619000000000-0x619000010000
0x619000010000-0x619e00000000
0x619e00000000-0x619e00010000
0x619e00010000-0x621000000000
0x621000000000-0x621000010000
0x621000010000-0x621e00000000
0x621e00000000-0x621e00010000
0x621e00010000-0x624000000000
0x624000000000-0x624000010000
0x624000010000-0x624e00000000
0x624e00000000-0x624e00010000
0x624e00010000-0x631000000000
0x631000000000-0x631000020000
0x631000020000-0x631e00000000
0x631e00000000-0x631e00010000
0x631e00010000-0x640000000000
0x640000000000-0x640000003000
0x7f8b99e00000-0x7f8b99f00000
0x7f8b9a000000-0x7f8b9a100000
0x7f8b9a200000-0x7f8b9a300000
0x7f8b9a400000-0x7f8b9a500000
0x7f8b9a600000-0x7f8b9a700000
0x7f8b9a770000-0x7f8b9cac2000
0x7f8b9cac2000-0x7f8b9cc5f000 /lib/x86_64-linux-gnu/libm-2.27.so
0x7f8b9cc5f000-0x7f8b9ce5e000 /lib/x86_64-linux-gnu/libm-2.27.so
0x7f8b9ce5e000-0x7f8b9ce5f000 /lib/x86_64-linux-gnu/libm-2.27.so
0x7f8b9ce5f000-0x7f8b9ce60000 /lib/x86_64-linux-gnu/libm-2.27.so
0x7f8b9ce60000-0x7f8b9ce7a000 /lib/x86_64-linux-gnu/libpthread-2.27.so
0x7f8b9ce7a000-0x7f8b9d079000 /lib/x86_64-linux-gnu/libpthread-2.27.so
0x7f8b9d079000-0x7f8b9d07a000 /lib/x86_64-linux-gnu/libpthread-2.27.so
0x7f8b9d07a000-0x7f8b9d07b000 /lib/x86_64-linux-gnu/libpthread-2.27.so
0x7f8b9d07b000-0x7f8b9d07f000
0x7f8b9d07f000-0x7f8b9d086000 /lib/x86_64-linux-gnu/librt-2.27.so
0x7f8b9d086000-0x7f8b9d285000 /lib/x86_64-linux-gnu/librt-2.27.so
0x7f8b9d285000-0x7f8b9d286000 /lib/x86_64-linux-gnu/librt-2.27.so
0x7f8b9d286000-0x7f8b9d287000 /lib/x86_64-linux-gnu/librt-2.27.so
0x7f8b9d287000-0x7f8b9d28a000 /lib/x86_64-linux-gnu/libdl-2.27.so
0x7f8b9d28a000-0x7f8b9d489000 /lib/x86_64-linux-gnu/libdl-2.27.so
0x7f8b9d489000-0x7f8b9d48a000 /lib/x86_64-linux-gnu/libdl-2.27.so
0x7f8b9d48a000-0x7f8b9d48b000 /lib/x86_64-linux-gnu/libdl-2.27.so
0x7f8b9d48b000-0x7f8b9d672000 /lib/x86_64-linux-gnu/libc-2.27.so
0x7f8b9d672000-0x7f8b9d872000 /lib/x86_64-linux-gnu/libc-2.27.so
0x7f8b9d872000-0x7f8b9d876000 /lib/x86_64-linux-gnu/libc-2.27.so
0x7f8b9d876000-0x7f8b9d878000 /lib/x86_64-linux-gnu/libc-2.27.so
0x7f8b9d878000-0x7f8b9d87c000
0x7f8b9d87c000-0x7f8b9d893000 /lib/x86_64-linux-gnu/libgcc_s.so.1
0x7f8b9d893000-0x7f8b9da92000 /lib/x86_64-linux-gnu/libgcc_s.so.1
0x7f8b9da92000-0x7f8b9da93000 /lib/x86_64-linux-gnu/libgcc_s.so.1
0x7f8b9da93000-0x7f8b9da94000 /lib/x86_64-linux-gnu/libgcc_s.so.1
0x7f8b9da94000-0x7f8b9dc0d000 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.25
0x7f8b9dc0d000-0x7f8b9de0d000 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.25
0x7f8b9de0d000-0x7f8b9de17000 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.25
0x7f8b9de17000-0x7f8b9de19000 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.25
0x7f8b9de19000-0x7f8b9de1d000
0x7f8b9de1d000-0x7f8b9df6d000 /usr/lib/x86_64-linux-gnu/libasan.so.4.0.0
0x7f8b9df6d000-0x7f8b9e16d000 /usr/lib/x86_64-linux-gnu/libasan.so.4.0.0
0x7f8b9e16d000-0x7f8b9e170000 /usr/lib/x86_64-linux-gnu/libasan.so.4.0.0
0x7f8b9e170000-0x7f8b9e173000 /usr/lib/x86_64-linux-gnu/libasan.so.4.0.0
0x7f8b9e173000-0x7f8b9edd8000
0x7f8b9edd8000-0x7f8b9edff000 /lib/x86_64-linux-gnu/ld-2.27.so
0x7f8b9ee9f000-0x7f8b9efea000
0x7f8b9efea000-0x7f8b9efff000
0x7f8b9efff000-0x7f8b9f000000 /lib/x86_64-linux-gnu/ld-2.27.so
0x7f8b9f000000-0x7f8b9f001000 /lib/x86_64-linux-gnu/ld-2.27.so
0x7f8b9f001000-0x7f8b9f002000
0x7ffce3bd8000-0x7ffce3bf9000 [stack]
0x7ffce3bfb000-0x7ffce3bfe000 [vvar]
0x7ffce3bfe000-0x7ffce3c00000 [vdso]
0xffffffffff600000-0xffffffffff601000 [vsyscall]
==10432==End of process memory map.
==10432==AddressSanitizer CHECK failed: ../../../../src/libsanitizer/sanitizer_common/sanitizer_common.cc:118 "((0 && "unable to mmap")) != (0)" (0x0, 0x0)
#0 0x7f8b9df06c02 (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xe9c02)
#1 0x7f8b9df25595 in __sanitizer::CheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x108595)
#2 0x7f8b9df10492 (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xf3492)
#3 0x7f8b9df1c8a5 (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xff8a5)
#4 0x7f8b9de46a51 (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x29a51)
#5 0x7f8b9defd5de in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xe05de)
#6 0x561a5ffcf4c4 in AP4_StcoAtom::AP4_StcoAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4StcoAtom.cpp:81
#7 0x561a5ffcf104 in AP4_StcoAtom::Create(unsigned int, AP4_ByteStream&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4StcoAtom.cpp:52
#8 0x561a5ff41d64 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:434
#9 0x561a5ff40310 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:221
#10 0x561a5ff515bc in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:194
#11 0x561a5ffbe494 in AP4_SampleEntry::Read(AP4_ByteStream&, AP4_AtomFactory&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4SampleEntry.cpp:115
#12 0x561a5ffc2710 in AP4_VisualSampleEntry::AP4_VisualSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4SampleEntry.cpp:742
#13 0x561a5ffc3f00 in AP4_AvcSampleEntry::AP4_AvcSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4SampleEntry.cpp:994
#14 0x561a5ff40e2d in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:306
#15 0x561a5ff40310 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:221
#16 0x561a5ffd4ce5 in AP4_StsdAtom::AP4_StsdAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4StsdAtom.cpp:101
#17 0x561a5ffd4553 in AP4_StsdAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4StsdAtom.cpp:57
#18 0x561a5ff41ca4 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:424
#19 0x561a5ff40310 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:221
#20 0x561a5ff515bc in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:194
#21 0x561a5ff51030 in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:139
#22 0x561a5ff50b8e in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:88
#23 0x561a5ff43519 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:764
#24 0x561a5ff40310 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:221
#25 0x561a5ff515bc in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:194
#26 0x561a5ff51030 in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:139
#27 0x561a5ff50b8e in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:88
#28 0x561a5ff43519 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:764
#29 0x561a5ff40310 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:221
#30 0x561a5ff515bc in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:194
#31 0x561a5ff51030 in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:139
#32 0x561a5ff50b8e in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:88
#33 0x561a5ff43519 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:764
#34 0x561a5ff40310 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:221
#35 0x561a5ff515bc in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:194
#36 0x561a5ff51030 in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:139
#37 0x561a5ffeb530 in AP4_TrakAtom::AP4_TrakAtom(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4TrakAtom.cpp:165
#38 0x561a5ff44589 in AP4_TrakAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) (/home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/cmakebuild/mp42hls+0x348589)
#39 0x561a5ff4193d in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:379
#40 0x561a5ff40310 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:221
#41 0x561a5ff515bc in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:194
#42 0x561a5ff51030 in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:139
#43 0x561a5ff83d52 in AP4_MoovAtom::AP4_MoovAtom(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4MoovAtom.cpp:80
#44 0x561a5ff44523 in AP4_MoovAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) (/home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/cmakebuild/mp42hls+0x348523)
#45 0x561a5ff417b6 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:359
#46 0x561a5ff40310 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:221
#47 0x561a5ff3f8d3 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:151
#48 0x561a5ff60849 in AP4_File::ParseStream(AP4_ByteStream&, AP4_AtomFactory&, bool) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4File.cpp:104
#49 0x561a5ff604b8 in AP4_File::AP4_File(AP4_ByteStream&, bool) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4File.cpp:78
#50 0x561a5ff2cec3 in main /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Apps/Mp42Hls/Mp42Hls.cpp:1837
#51 0x7f8b9d4acb96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#52 0x561a5ff20a89 in _start (/home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/cmakebuild/mp42hls+0x324a89)
```
FoundBy: yjiiit@aliyun.com | Allocate for large amounts of memory failed in Ap4StcoAtom.cpp:81 at Bento4 1.5.1-627 when running mp42hls | https://api.github.com/repos/axiomatic-systems/Bento4/issues/350/comments | 2 | 2018-12-31T15:52:26Z | 2019-01-12T21:14:48Z | https://github.com/axiomatic-systems/Bento4/issues/350 | 394,998,583 | 350 |
[
"axiomatic-systems",
"Bento4"
] | A crafted input will lead to Memory allocation failed in Ap4DataBuffer.cpp at Bento4 1.5.1-627
Triggered by
./mp42hls crash6.mp4
Poc
[crash6.mp4.zip](https://github.com/axiomatic-systems/Bento4/files/2709645/crash6.mp4.zip)
Bento4 Version 1.5.1-627
The ASAN information is as follows:
```
==28472==ERROR: AddressSanitizer failed to allocate 0x100002000 (4294975488) bytes of LargeMmapAllocator (error code: 12)
==28472==Process memory map follows:
0x00007fff7000-0x00008fff7000
0x00008fff7000-0x02008fff7000
0x02008fff7000-0x10007fff8000
0x56075ed38000-0x56075f3de000 /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/cmakebuild/mp42hls
0x56075f5dd000-0x56075f5e7000 /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/cmakebuild/mp42hls
0x56075f5e7000-0x56075f7bb000 /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/cmakebuild/mp42hls
0x600000000000-0x602000000000
0x602000000000-0x602000010000
0x602000010000-0x602e00000000
0x602e00000000-0x602e00010000
0x602e00010000-0x603000000000
0x603000000000-0x603000010000
0x603000010000-0x603e00000000
0x603e00000000-0x603e00010000
0x603e00010000-0x604000000000
0x604000000000-0x604000010000
0x604000010000-0x604e00000000
0x604e00000000-0x604e00010000
0x604e00010000-0x607000000000
0x607000000000-0x607000010000
0x607000010000-0x607e00000000
0x607e00000000-0x607e00010000
0x607e00010000-0x616000000000
0x616000000000-0x616000010000
0x616000010000-0x616e00000000
0x616e00000000-0x616e00010000
0x616e00010000-0x619000000000
0x619000000000-0x619000010000
0x619000010000-0x619e00000000
0x619e00000000-0x619e00010000
0x619e00010000-0x621000000000
0x621000000000-0x621000010000
0x621000010000-0x621e00000000
0x621e00000000-0x621e00010000
0x621e00010000-0x631000000000
0x631000000000-0x631000020000
0x631000020000-0x631e00000000
0x631e00000000-0x631e00010000
0x631e00010000-0x640000000000
0x640000000000-0x640000003000
0x7fe617000000-0x7fe617100000
0x7fe617200000-0x7fe617300000
0x7fe617400000-0x7fe617500000
0x7fe617600000-0x7fe617700000
0x7fe617800000-0x7fe617900000
0x7fe6179d5000-0x7fe619d27000
0x7fe619d27000-0x7fe619ec4000 /lib/x86_64-linux-gnu/libm-2.27.so
0x7fe619ec4000-0x7fe61a0c3000 /lib/x86_64-linux-gnu/libm-2.27.so
0x7fe61a0c3000-0x7fe61a0c4000 /lib/x86_64-linux-gnu/libm-2.27.so
0x7fe61a0c4000-0x7fe61a0c5000 /lib/x86_64-linux-gnu/libm-2.27.so
0x7fe61a0c5000-0x7fe61a0df000 /lib/x86_64-linux-gnu/libpthread-2.27.so
0x7fe61a0df000-0x7fe61a2de000 /lib/x86_64-linux-gnu/libpthread-2.27.so
0x7fe61a2de000-0x7fe61a2df000 /lib/x86_64-linux-gnu/libpthread-2.27.so
0x7fe61a2df000-0x7fe61a2e0000 /lib/x86_64-linux-gnu/libpthread-2.27.so
0x7fe61a2e0000-0x7fe61a2e4000
0x7fe61a2e4000-0x7fe61a2eb000 /lib/x86_64-linux-gnu/librt-2.27.so
0x7fe61a2eb000-0x7fe61a4ea000 /lib/x86_64-linux-gnu/librt-2.27.so
0x7fe61a4ea000-0x7fe61a4eb000 /lib/x86_64-linux-gnu/librt-2.27.so
0x7fe61a4eb000-0x7fe61a4ec000 /lib/x86_64-linux-gnu/librt-2.27.so
0x7fe61a4ec000-0x7fe61a4ef000 /lib/x86_64-linux-gnu/libdl-2.27.so
0x7fe61a4ef000-0x7fe61a6ee000 /lib/x86_64-linux-gnu/libdl-2.27.so
0x7fe61a6ee000-0x7fe61a6ef000 /lib/x86_64-linux-gnu/libdl-2.27.so
0x7fe61a6ef000-0x7fe61a6f0000 /lib/x86_64-linux-gnu/libdl-2.27.so
0x7fe61a6f0000-0x7fe61a8d7000 /lib/x86_64-linux-gnu/libc-2.27.so
0x7fe61a8d7000-0x7fe61aad7000 /lib/x86_64-linux-gnu/libc-2.27.so
0x7fe61aad7000-0x7fe61aadb000 /lib/x86_64-linux-gnu/libc-2.27.so
0x7fe61aadb000-0x7fe61aadd000 /lib/x86_64-linux-gnu/libc-2.27.so
0x7fe61aadd000-0x7fe61aae1000
0x7fe61aae1000-0x7fe61aaf8000 /lib/x86_64-linux-gnu/libgcc_s.so.1
0x7fe61aaf8000-0x7fe61acf7000 /lib/x86_64-linux-gnu/libgcc_s.so.1
0x7fe61acf7000-0x7fe61acf8000 /lib/x86_64-linux-gnu/libgcc_s.so.1
0x7fe61acf8000-0x7fe61acf9000 /lib/x86_64-linux-gnu/libgcc_s.so.1
0x7fe61acf9000-0x7fe61ae72000 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.25
0x7fe61ae72000-0x7fe61b072000 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.25
0x7fe61b072000-0x7fe61b07c000 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.25
0x7fe61b07c000-0x7fe61b07e000 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.25
0x7fe61b07e000-0x7fe61b082000
0x7fe61b082000-0x7fe61b1d2000 /usr/lib/x86_64-linux-gnu/libasan.so.4.0.0
0x7fe61b1d2000-0x7fe61b3d2000 /usr/lib/x86_64-linux-gnu/libasan.so.4.0.0
0x7fe61b3d2000-0x7fe61b3d5000 /usr/lib/x86_64-linux-gnu/libasan.so.4.0.0
0x7fe61b3d5000-0x7fe61b3d8000 /usr/lib/x86_64-linux-gnu/libasan.so.4.0.0
0x7fe61b3d8000-0x7fe61c03d000
0x7fe61c03d000-0x7fe61c064000 /lib/x86_64-linux-gnu/ld-2.27.so
0x7fe61c104000-0x7fe61c24f000
0x7fe61c24f000-0x7fe61c264000
0x7fe61c264000-0x7fe61c265000 /lib/x86_64-linux-gnu/ld-2.27.so
0x7fe61c265000-0x7fe61c266000 /lib/x86_64-linux-gnu/ld-2.27.so
0x7fe61c266000-0x7fe61c267000
0x7ffd36c8c000-0x7ffd36cad000 [stack]
0x7ffd36daa000-0x7ffd36dad000 [vvar]
0x7ffd36dad000-0x7ffd36daf000 [vdso]
0xffffffffff600000-0xffffffffff601000 [vsyscall]
==28472==End of process memory map.
==28472==AddressSanitizer CHECK failed: ../../../../src/libsanitizer/sanitizer_common/sanitizer_common.cc:118 "((0 && "unable to mmap")) != (0)" (0x0, 0x0)
#0 0x7fe61b16bc02 (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xe9c02)
#1 0x7fe61b18a595 in __sanitizer::CheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x108595)
#2 0x7fe61b175492 (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xf3492)
#3 0x7fe61b1818a5 (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xff8a5)
#4 0x7fe61b0aba51 (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x29a51)
#5 0x7fe61b1625de in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xe05de)
#6 0x56075f0945f9 in AP4_DataBuffer::AP4_DataBuffer(unsigned int) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4DataBuffer.cpp:55
#7 0x56075f0a13e1 in AP4_HvccAtom::Create(unsigned int, AP4_ByteStream&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4HvccAtom.cpp:86
#8 0x56075f07e124 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:484
#9 0x56075f07c310 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:221
#10 0x56075f07b8d3 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:151
#11 0x56075f09c849 in AP4_File::ParseStream(AP4_ByteStream&, AP4_AtomFactory&, bool) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4File.cpp:104
#12 0x56075f09c4b8 in AP4_File::AP4_File(AP4_ByteStream&, bool) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4File.cpp:78
#13 0x56075f068ec3 in main /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Apps/Mp42Hls/Mp42Hls.cpp:1837
#14 0x7fe61a711b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#15 0x56075f05ca89 in _start (/home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/cmakebuild/mp42hls+0x324a89)
```
FoundBy: yjiiit@aliyun.com | Allocate for large amounts of memory failed in Ap4DataBuffer.cpp:55 at Bento4 1.5.1-627 when running mp42hls | https://api.github.com/repos/axiomatic-systems/Bento4/issues/349/comments | 1 | 2018-12-26T06:58:51Z | 2019-01-12T21:04:37Z | https://github.com/axiomatic-systems/Bento4/issues/349 | 394,098,083 | 349 |
[
"axiomatic-systems",
"Bento4"
] | A crafted input will lead to memroy leaks in Mp42Hls.cpp at Bento4 1.5.1-627.
Triggered by
./mp42hls crash5.mp4
Poc
[crash5.mp4.zip](https://github.com/axiomatic-systems/Bento4/files/2709620/crash5.mp4.zip)
Bento4 Version 1.5.1-627
The ASAN information is as follows:
```
ERROR: video codec not supported
=================================================================
==26030==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 24 byte(s) in 1 object(s) allocated from:
#0 0x7f451b6d6458 in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xe0458)
#1 0x557952123797 in main /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Apps/Mp42Hls/Mp42Hls.cpp:1915
#2 0x7f451ac85b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
```
The ASAN info is too long, please download the full info:
[crash5_ASAN_info.txt](https://github.com/axiomatic-systems/Bento4/files/2709637/crash5_ASAN_info.txt)
FoundBy: yjiiit@aliyun.com | Memory leaks in Mp42Hls.cpp:1915 at Bento4 1.5.1-627 when running mp42hls | https://api.github.com/repos/axiomatic-systems/Bento4/issues/348/comments | 0 | 2018-12-26T06:52:38Z | 2019-01-12T20:47:42Z | https://github.com/axiomatic-systems/Bento4/issues/348 | 394,097,126 | 348 |
[
"axiomatic-systems",
"Bento4"
] | From https://www.bento4.com/downloads/ and commit messages it is evident that 1.5.1-624 is not the latest release, but it is the last release on GitHub: https://github.com/axiomatic-systems/Bento4/releases | 1.5.1-625 and newer are not tagged on GitHub | https://api.github.com/repos/axiomatic-systems/Bento4/issues/346/comments | 2 | 2018-12-21T14:24:03Z | 2019-01-07T00:08:14Z | https://github.com/axiomatic-systems/Bento4/issues/346 | 393,476,069 | 346 |
[
"axiomatic-systems",
"Bento4"
] | A crafted input will lead to heap buffer overflow failed in Ap4AvccAtom.cpp at Bento4 1.5.1-627
Triggered by
./mp42hls crash4.mp4
Poc
[crash4.mp4.zip](https://github.com/axiomatic-systems/Bento4/files/2701414/crash4.mp4.zip)
Bento4 Version 1.5.1-627
The ASAN information is as follows:
```
=================================================================
==24829==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6040000000bc at pc 0x559f29a7d8b2 bp 0x7ffcd79471e0 sp 0x7ffcd79471d0
READ of size 1 at 0x6040000000bc thread T0
#0 0x559f29a7d8b1 in AP4_AvccAtom::Create(unsigned int, AP4_ByteStream&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AvccAtom.cpp:88
#1 0x559f29a7a0c4 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:479
#2 0x559f29a78310 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:221
#3 0x559f29a895bc in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:194
#4 0x559f29af6494 in AP4_SampleEntry::Read(AP4_ByteStream&, AP4_AtomFactory&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4SampleEntry.cpp:115
#5 0x559f29afa710 in AP4_VisualSampleEntry::AP4_VisualSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4SampleEntry.cpp:742
#6 0x559f29afbf00 in AP4_AvcSampleEntry::AP4_AvcSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4SampleEntry.cpp:994
#7 0x559f29a78e2d in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:306
#8 0x559f29a78310 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:221
#9 0x559f29b0cce5 in AP4_StsdAtom::AP4_StsdAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4StsdAtom.cpp:101
#10 0x559f29b0c553 in AP4_StsdAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4StsdAtom.cpp:57
#11 0x559f29a79ca4 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:424
#12 0x559f29a78310 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:221
#13 0x559f29a895bc in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:194
#14 0x559f29a89030 in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:139
#15 0x559f29a88b8e in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:88
#16 0x559f29a7b519 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:764
#17 0x559f29a78310 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:221
#18 0x559f29a895bc in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:194
#19 0x559f29a89030 in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:139
#20 0x559f29a88b8e in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:88
#21 0x559f29a7b519 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:764
#22 0x559f29a78310 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:221
#23 0x559f29a895bc in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:194
#24 0x559f29a89030 in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:139
#25 0x559f29a88b8e in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:88
#26 0x559f29a7b519 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:764
#27 0x559f29a78310 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:221
#28 0x559f29a895bc in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:194
#29 0x559f29a89030 in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:139
#30 0x559f29b23530 in AP4_TrakAtom::AP4_TrakAtom(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4TrakAtom.cpp:165
#31 0x559f29a7c589 in AP4_TrakAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) (/home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/cmakebuild/mp42hls+0x348589)
#32 0x559f29a7993d in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:379
#33 0x559f29a78310 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:221
#34 0x559f29a895bc in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:194
#35 0x559f29a89030 in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:139
#36 0x559f29abbd52 in AP4_MoovAtom::AP4_MoovAtom(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4MoovAtom.cpp:80
#37 0x559f29a7c523 in AP4_MoovAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) (/home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/cmakebuild/mp42hls+0x348523)
#38 0x559f29a797b6 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:359
#39 0x559f29a78310 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:221
#40 0x559f29a778d3 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:151
#41 0x559f29a98849 in AP4_File::ParseStream(AP4_ByteStream&, AP4_AtomFactory&, bool) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4File.cpp:104
#42 0x559f29a984b8 in AP4_File::AP4_File(AP4_ByteStream&, bool) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4File.cpp:78
#43 0x559f29a64ec3 in main /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Apps/Mp42Hls/Mp42Hls.cpp:1837
#44 0x7fefa23abb96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#45 0x559f29a58a89 in _start (/home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/cmakebuild/mp42hls+0x324a89)
0x6040000000bc is located 0 bytes to the right of 44-byte region [0x604000000090,0x6040000000bc)
allocated by thread T0 here:
#0 0x7fefa2dfc618 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xe0618)
#1 0x559f29a905f9 in AP4_DataBuffer::AP4_DataBuffer(unsigned int) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4DataBuffer.cpp:55
#2 0x559f29a7d6a1 in AP4_AvccAtom::Create(unsigned int, AP4_ByteStream&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AvccAtom.cpp:69
#3 0x559f29a7a0c4 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:479
#4 0x559f29a78310 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:221
#5 0x559f29a895bc in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:194
#6 0x559f29af6494 in AP4_SampleEntry::Read(AP4_ByteStream&, AP4_AtomFactory&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4SampleEntry.cpp:115
#7 0x559f29afa710 in AP4_VisualSampleEntry::AP4_VisualSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4SampleEntry.cpp:742
#8 0x559f29afbf00 in AP4_AvcSampleEntry::AP4_AvcSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4SampleEntry.cpp:994
#9 0x559f29a78e2d in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:306
#10 0x559f29a78310 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:221
#11 0x559f29b0cce5 in AP4_StsdAtom::AP4_StsdAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4StsdAtom.cpp:101
#12 0x559f29b0c553 in AP4_StsdAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4StsdAtom.cpp:57
#13 0x559f29a79ca4 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:424
#14 0x559f29a78310 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:221
#15 0x559f29a895bc in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:194
#16 0x559f29a89030 in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:139
#17 0x559f29a88b8e in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:88
#18 0x559f29a7b519 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:764
#19 0x559f29a78310 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:221
#20 0x559f29a895bc in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:194
#21 0x559f29a89030 in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:139
#22 0x559f29a88b8e in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:88
#23 0x559f29a7b519 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:764
#24 0x559f29a78310 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:221
#25 0x559f29a895bc in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:194
#26 0x559f29a89030 in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:139
#27 0x559f29a88b8e in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:88
#28 0x559f29a7b519 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:764
#29 0x559f29a78310 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:221
SUMMARY: AddressSanitizer: heap-buffer-overflow /home/parallels/Desktop/Fuzz/Bento4/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AvccAtom.cpp:88 in AP4_AvccAtom::Create(unsigned int, AP4_ByteStream&)
Shadow bytes around the buggy address:
0x0c087fff7fc0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0c087fff7fd0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0c087fff7fe0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0c087fff7ff0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0c087fff8000: fa fa 00 00 00 00 00 00 fa fa 00 00 00 00 00 00
=>0x0c087fff8010: fa fa 00 00 00 00 00[04]fa fa fa fa fa fa fa fa
0x0c087fff8020: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c087fff8030: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c087fff8040: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c087fff8050: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c087fff8060: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow 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
==24829==ABORTING
```
FoundBy: yjiiit@aliyun.com | Heap-buffer-overflow in Ap4AvccAtom.cpp:88 at Bento4 1.5.1-627 when running mp42hls | https://api.github.com/repos/axiomatic-systems/Bento4/issues/345/comments | 1 | 2018-12-21T03:39:41Z | 2019-01-12T20:47:19Z | https://github.com/axiomatic-systems/Bento4/issues/345 | 393,300,672 | 345 |
[
"axiomatic-systems",
"Bento4"
] | mp4edit.exe --insert generates corrupted atom
With the version 1.5.1-627 of mp4edit.exe, the result file has a corrupted atom. Version 1.5.1-624 works fine.
I use mp4edit.exe to insert an atom in a mp4 file:
mp4edit.exe --insert moov/udta:GPSinfo.txt:0 "MOV_0232.mp4" "Sortiegps.mp4"
with GPSinfo.txt the following file: ©xyz Ç+38.7130-009.1291/
The result file "SortiegpsOK.mp4" is unreadable and a dump stops before the end the file:
[ftyp] size=8+24
major_brand = mp42
minor_version = 200
compatible_brand = isom
compatible_brand = iso2
compatible_brand = avc1
compatible_brand = mp41
[free] size=8+0
[moov] size=8+20183
[mvhd] size=12+96
timescale = 1000
duration = 20286
duration(ms) = 20286
[iods] size=12+12
[InitialObjectDescriptor] size=5+7
id = 1
include inline profile level flag = 0
OD profile level = ff
scene profile level = ff
audio profile level = fe
visual profile level = fe
graphics profile level = ff
[trak] size=8+11819
[tkhd] size=12+80, flags=3
enabled = 1
id = 1
duration = 20286
width = 640.000000
height = 360.000000
[edts] size=8+28
[elst] size=12+16
entry count = 1
entry/segment duration = 20286
entry/media time = 6061
entry/media rate = 1
[mdia] size=8+11683
[mdhd] size=12+20
timescale = 90000
duration = 1825700
duration(ms) = 20285
language = und
[hdlr] size=12+33
handler_type = vide
handler_name = VideoHandler
[minf] size=8+11598
[vmhd] size=12+8, flags=1
graphics_mode = 0
op_color = 0000,0000,0000
[dinf] size=8+28
[dref] size=12+16
[url ] size=12+0, flags=1
location = [local to file]
[stbl] size=8+11534
[stsd] size=12+142
entry-count = 1
[avc1] size=8+130
data_reference_index = 1
width = 640
height = 360
compressor =
[avcC] size=8+44
Configuration Version = 1
Profile = Main
Profile Compatibility = 40
Level = 40
NALU Length Size = 4
Sequence Parameter = [67 4d 40 28 ec a0 50 17 fc b8 0b 50 10 10 14 00 00 03 00 04 00 0a fc 80 3c 60 c6 58]
Picture Parameter = [68 eb e7 2c 80]
[stts] size=12+1772
entry_count = 221
[stss] size=12+24
entry_count = 5
[ctts] size=12+4668
entry_count = 583
[stsc] size=12+16
entry_count = 1
[stsz] size=12+2416
sample_size = 0
sample_count = 602
[stco] size=12+2412
entry_count = 602
[trak] size=8+8075
[tkhd] size=12+80, flags=3
enabled = 1
id = 2
duration = 20224
width = 0.000000
height = 0.000000
[edts] size=8+28
[elst] size=12+16
entry count = 1
entry/segment duration = 20202
entry/media time = 1024
entry/media rate = 1
[mdia] size=8+7917
[mdhd] size=12+20
timescale = 48000
duration = 970752
duration(ms) = 20224
language = eng
[hdlr] size=12+27
handler_type = soun
handler_name = Stereo
[minf] size=8+7838
[smhd] size=12+4
balance = 0
[dinf] size=8+28
[dref] size=12+16
[url ] size=12+0, flags=1
location = [local to file]
[stbl] size=8+7778
[stsd] size=12+94
entry-count = 1
[mp4a] size=8+82
data_reference_index = 1
channel_count = 2
sample_size = 16
sample_rate = 48000
[esds] size=12+42
[ESDescriptor] size=5+37
es_id = 2
stream_priority = 0
[DecoderConfig] size=5+23
stream_type = 5
object_type = 64
up_stream = 0
buffer_size = 0
max_bitrate = 0
avg_bitrate = 0
DecoderSpecificInfo = 11 90 56 e5 00
[Descriptor:06] size=5+1
[stts] size=12+12
entry_count = 1
[stsc] size=12+16
entry_count = 1
[stsz] size=12+3800
sample_size = 0
sample_count = 948
[stco] size=12+3796
entry_count = 948
[udta] size=8+14
[name] size=8+6
[udta] size=8+133
[meta] size=12+91
[hdlr] size=12+21
handler_type = mdir
handler_name =
The dump of the original file:
[ftyp] size=8+24
major_brand = mp42
minor_version = 200
compatible_brand = isom
compatible_brand = iso2
compatible_brand = avc1
compatible_brand = mp41
[free] size=8+0
[mdat] size=8+1817672
[moov] size=8+20153
[mvhd] size=12+96
timescale = 1000
duration = 20286
duration(ms) = 20286
[iods] size=12+12
[InitialObjectDescriptor] size=5+7
id = 1
include inline profile level flag = 0
OD profile level = ff
scene profile level = ff
audio profile level = fe
visual profile level = fe
graphics profile level = ff
[trak] size=8+11819
[tkhd] size=12+80, flags=3
enabled = 1
id = 1
duration = 20286
width = 640.000000
height = 360.000000
[edts] size=8+28
[elst] size=12+16
entry count = 1
entry/segment duration = 20286
entry/media time = 6061
entry/media rate = 1
[mdia] size=8+11683
[mdhd] size=12+20
timescale = 90000
duration = 1825700
duration(ms) = 20285
language = und
[hdlr] size=12+33
handler_type = vide
handler_name = VideoHandler
[minf] size=8+11598
[vmhd] size=12+8, flags=1
graphics_mode = 0
op_color = 0000,0000,0000
[dinf] size=8+28
[dref] size=12+16
[url ] size=12+0, flags=1
location = [local to file]
[stbl] size=8+11534
[stsd] size=12+142
entry-count = 1
[avc1] size=8+130
data_reference_index = 1
width = 640
height = 360
compressor =
[avcC] size=8+44
Configuration Version = 1
Profile = Main
Profile Compatibility = 40
Level = 40
NALU Length Size = 4
Sequence Parameter = [67 4d 40 28 ec a0 50 17 fc b8 0b 50 10 10 14 00 00 03 00 04 00 0a fc 80 3c 60 c6 58]
Picture Parameter = [68 eb e7 2c 80]
[stts] size=12+1772
entry_count = 221
[stss] size=12+24
entry_count = 5
[ctts] size=12+4668
entry_count = 583
[stsc] size=12+16
entry_count = 1
[stsz] size=12+2416
sample_size = 0
sample_count = 602
[stco] size=12+2412
entry_count = 602
[trak] size=8+8075
[tkhd] size=12+80, flags=3
enabled = 1
id = 2
duration = 20224
width = 0.000000
height = 0.000000
[edts] size=8+28
[elst] size=12+16
entry count = 1
entry/segment duration = 20202
entry/media time = 1024
entry/media rate = 1
[mdia] size=8+7917
[mdhd] size=12+20
timescale = 48000
duration = 970752
duration(ms) = 20224
language = eng
[hdlr] size=12+27
handler_type = soun
handler_name = Stereo
[minf] size=8+7838
[smhd] size=12+4
balance = 0
[dinf] size=8+28
[dref] size=12+16
[url ] size=12+0, flags=1
location = [local to file]
[stbl] size=8+7778
[stsd] size=12+94
entry-count = 1
[mp4a] size=8+82
data_reference_index = 1
channel_count = 2
sample_size = 16
sample_rate = 48000
[esds] size=12+42
[ESDescriptor] size=5+37
es_id = 2
stream_priority = 0
[DecoderConfig] size=5+23
stream_type = 5
object_type = 64
up_stream = 0
buffer_size = 0
max_bitrate = 0
avg_bitrate = 0
DecoderSpecificInfo = 11 90 56 e5 00
[Descriptor:06] size=5+1
[stts] size=12+12
entry_count = 1
[stsc] size=12+16
entry_count = 1
[stsz] size=12+3800
sample_size = 0
sample_count = 948
[stco] size=12+3796
entry_count = 948
[udta] size=8+14
[name] size=8+6
[udta] size=8+103
[meta] size=12+91
[hdlr] size=12+21
handler_type = mdir
handler_name =
[ilst] size=8+50
[.too] size=8+42
[data] size=8+34
type = 1
lang = 0
value = HandBrake 1.0.7 2017040900
Comparing the two binary files shows that an extra byte with value 0x00 is inserted in the atom [hdlr] with length 0x21. There are on the right 5 bytes for the length of atom [ilst]
Left: Original file
Right: Edited file

| mp4edit.exe --insert generates corrupted atom | https://api.github.com/repos/axiomatic-systems/Bento4/issues/344/comments | 1 | 2018-12-19T16:01:07Z | 2019-01-12T20:40:02Z | https://github.com/axiomatic-systems/Bento4/issues/344 | 392,667,871 | 344 |
[
"axiomatic-systems",
"Bento4"
] | A crafted input will lead to memroy leaks in Ap4DescriptorFactory.cpp at Bento4 1.5.1-627.
Triggered by
./mp42hls crash3.mp4
Poc
[crash3.zip](https://github.com/axiomatic-systems/Bento4/files/2693066/crash3.zip)
Bento4 Version 1.5.1-627
The ASAN information is as follows:
```
ERROR: failed to write samples (-18)
=================================================================
==52749==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 88 byte(s) in 1 object(s) allocated from:
#0 0x7f6969285532 in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x99532)
#1 0x53fd71 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/jas/Downloads/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4DescriptorFactory.cpp:89
Direct leak of 48 byte(s) in 1 object(s) allocated from:
#0 0x7f6969285532 in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x99532)
#1 0x4de961 in AP4_StdcFileByteStream::Create(AP4_FileByteStream*, char const*, AP4_FileByteStream::Mode, AP4_ByteStream*&) /home/jas/Downloads/Bento4-SRC-1-5-1-627/Source/C++/System/StdC/Ap4StdCFileByteStream.cpp:175
#2 0x4de961 in AP4_FileByteStream::Create(char const*, AP4_FileByteStream::Mode, AP4_ByteStream*&) /home/jas/Downloads/Bento4-SRC-1-5-1-627/Source/C++/System/StdC/Ap4StdCFileByteStream.cpp:332
Indirect leak of 2097544 byte(s) in 10 object(s) allocated from:
#0 0x7f69692856b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x4abb54 in AP4_DataBuffer::ReallocateBuffer(unsigned int) /home/jas/Downloads/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4DataBuffer.cpp:210
#2 0x4abb54 in AP4_DataBuffer::SetDataSize(unsigned int) /home/jas/Downloads/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4DataBuffer.cpp:151
Indirect leak of 896 byte(s) in 16 object(s) allocated from:
#0 0x7f6969285532 in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x99532)
#1 0x53fec9 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/jas/Downloads/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4DescriptorFactory.cpp:126
Indirect leak of 408 byte(s) in 17 object(s) allocated from:
#0 0x7f6969285532 in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x99532)
#1 0x55b961 in AP4_List<AP4_Descriptor>::Add(AP4_Descriptor*) /home/jas/Downloads/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4List.h:160
#2 0x55b961 in AP4_InitialObjectDescriptor::AP4_InitialObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/jas/Downloads/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ObjectDescriptor.cpp:260
Indirect leak of 32 byte(s) in 1 object(s) allocated from:
#0 0x7f6969285532 in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x99532)
#1 0x53fd32 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/jas/Downloads/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4DescriptorFactory.cpp:114
SUMMARY: AddressSanitizer: 2099016 byte(s) leaked in 46 allocation(s).
```
FoundBy: yjiiit@aliyun.com | Memory leaks in Ap4DescriptorFactory.cpp:89 at Bento4 1.5.1-627 when running mp42hls | https://api.github.com/repos/axiomatic-systems/Bento4/issues/343/comments | 3 | 2018-12-19T02:59:54Z | 2019-01-12T20:21:32Z | https://github.com/axiomatic-systems/Bento4/issues/343 | 392,420,927 | 343 |
[
"axiomatic-systems",
"Bento4"
] | A crafted input will lead to Memory allocation failed in Ap4DataBuffer.cpp at Bento4 1.5.1-627
Triggered by
./mp42hls crash2.mp4
Poc
[crash2.zip](https://github.com/axiomatic-systems/Bento4/files/2685099/crash2.zip)
Bento4 Version 1.5.1-627
The ASAN information is as follows:
```
==92387==ERROR: AddressSanitizer failed to allocate 0x80003000 (2147495936) bytes of LargeMmapAllocator (errno: 12)
==92387==Process memory map follows:
0x000000400000-0x0000005aa000 /home/jas/Downloads/Bento4-SRC-1-5-1-627/cmakebuild/mp42hls
0x0000007a9000-0x0000007aa000 /home/jas/Downloads/Bento4-SRC-1-5-1-627/cmakebuild/mp42hls
0x0000007aa000-0x0000007b9000 /home/jas/Downloads/Bento4-SRC-1-5-1-627/cmakebuild/mp42hls
0x0000007b9000-0x0000007ba000
0x00007fff7000-0x00008fff7000
0x00008fff7000-0x02008fff7000
0x02008fff7000-0x10007fff8000
0x600000000000-0x602000000000
0x602000000000-0x602000010000
0x602000010000-0x603000000000
0x603000000000-0x603000010000
0x603000010000-0x604000000000
0x604000000000-0x604000010000
0x604000010000-0x606000000000
0x606000000000-0x606000010000
0x606000010000-0x607000000000
0x607000000000-0x607000010000
0x607000010000-0x608000000000
0x608000000000-0x608000010000
0x608000010000-0x60b000000000
0x60b000000000-0x60b000010000
0x60b000010000-0x60c000000000
0x60c000000000-0x60c000010000
0x60c000010000-0x60d000000000
0x60d000000000-0x60d000010000
0x60d000010000-0x60e000000000
0x60e000000000-0x60e000010000
0x60e000010000-0x610000000000
0x610000000000-0x610000010000
0x610000010000-0x611000000000
0x611000000000-0x611000010000
0x611000010000-0x613000000000
0x613000000000-0x613000010000
0x613000010000-0x614000000000
0x614000000000-0x614000020000
0x614000020000-0x615000000000
0x615000000000-0x615000020000
0x615000020000-0x616000000000
0x616000000000-0x616000020000
0x616000020000-0x619000000000
0x619000000000-0x619000020000
0x619000020000-0x61c000000000
0x61c000000000-0x61c000020000
0x61c000020000-0x621000000000
0x621000000000-0x621000020000
0x621000020000-0x624000000000
0x624000000000-0x624000020000
0x624000020000-0x626000000000
0x626000000000-0x626000020000
0x626000020000-0x629000000000
0x629000000000-0x629000010000
0x629000010000-0x62d000000000
0x62d000000000-0x62d000020000
0x62d000020000-0x631000000000
0x631000000000-0x631000030000
0x631000030000-0x640000000000
0x640000000000-0x640000003000
0x7fe341500000-0x7fe341600000
0x7fe341700000-0x7fe341800000
0x7fe3418fe000-0x7fe343c50000
0x7fe343c50000-0x7fe343d58000 /lib/x86_64-linux-gnu/libm-2.23.so
0x7fe343d58000-0x7fe343f57000 /lib/x86_64-linux-gnu/libm-2.23.so
0x7fe343f57000-0x7fe343f58000 /lib/x86_64-linux-gnu/libm-2.23.so
0x7fe343f58000-0x7fe343f59000 /lib/x86_64-linux-gnu/libm-2.23.so
0x7fe343f59000-0x7fe343f5c000 /lib/x86_64-linux-gnu/libdl-2.23.so
0x7fe343f5c000-0x7fe34415b000 /lib/x86_64-linux-gnu/libdl-2.23.so
0x7fe34415b000-0x7fe34415c000 /lib/x86_64-linux-gnu/libdl-2.23.so
0x7fe34415c000-0x7fe34415d000 /lib/x86_64-linux-gnu/libdl-2.23.so
0x7fe34415d000-0x7fe344175000 /lib/x86_64-linux-gnu/libpthread-2.23.so
0x7fe344175000-0x7fe344374000 /lib/x86_64-linux-gnu/libpthread-2.23.so
0x7fe344374000-0x7fe344375000 /lib/x86_64-linux-gnu/libpthread-2.23.so
0x7fe344375000-0x7fe344376000 /lib/x86_64-linux-gnu/libpthread-2.23.so
0x7fe344376000-0x7fe34437a000
0x7fe34437a000-0x7fe34453a000 /lib/x86_64-linux-gnu/libc-2.23.so
0x7fe34453a000-0x7fe34473a000 /lib/x86_64-linux-gnu/libc-2.23.so
0x7fe34473a000-0x7fe34473e000 /lib/x86_64-linux-gnu/libc-2.23.so
0x7fe34473e000-0x7fe344740000 /lib/x86_64-linux-gnu/libc-2.23.so
0x7fe344740000-0x7fe344744000
0x7fe344744000-0x7fe34475a000 /lib/x86_64-linux-gnu/libgcc_s.so.1
0x7fe34475a000-0x7fe344959000 /lib/x86_64-linux-gnu/libgcc_s.so.1
0x7fe344959000-0x7fe34495a000 /lib/x86_64-linux-gnu/libgcc_s.so.1
0x7fe34495a000-0x7fe344acc000 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
0x7fe344acc000-0x7fe344ccc000 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
0x7fe344ccc000-0x7fe344cd6000 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
0x7fe344cd6000-0x7fe344cd8000 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
0x7fe344cd8000-0x7fe344cdc000
0x7fe344cdc000-0x7fe344dd0000 /usr/lib/x86_64-linux-gnu/libasan.so.2.0.0
0x7fe344dd0000-0x7fe344fd0000 /usr/lib/x86_64-linux-gnu/libasan.so.2.0.0
0x7fe344fd0000-0x7fe344fd3000 /usr/lib/x86_64-linux-gnu/libasan.so.2.0.0
0x7fe344fd3000-0x7fe344fd4000 /usr/lib/x86_64-linux-gnu/libasan.so.2.0.0
0x7fe344fd4000-0x7fe345c49000
0x7fe345c49000-0x7fe345c6f000 /lib/x86_64-linux-gnu/ld-2.23.so
0x7fe345d54000-0x7fe345e58000
0x7fe345e58000-0x7fe345e6e000
0x7fe345e6e000-0x7fe345e6f000 /lib/x86_64-linux-gnu/ld-2.23.so
0x7fe345e6f000-0x7fe345e70000 /lib/x86_64-linux-gnu/ld-2.23.so
0x7fe345e70000-0x7fe345e71000
0x7fffeaa6e000-0x7fffeaa8f000 [stack]
0x7fffeaae9000-0x7fffeaaeb000 [vvar]
0x7fffeaaeb000-0x7fffeaaed000 [vdso]
0xffffffffff600000-0xffffffffff601000 [vsyscall]
==92387==End of process memory map.
==92387==AddressSanitizer CHECK failed: ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix.cc:121 "(("unable to mmap" && 0)) != (0)" (0x0, 0x0)
#0 0x7fe344d7c631 (/usr/lib/x86_64-linux-gnu/libasan.so.2+0xa0631)
#1 0x7fe344d815e3 in __sanitizer::CheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0xa55e3)
#2 0x7fe344d89611 (/usr/lib/x86_64-linux-gnu/libasan.so.2+0xad611)
#3 0x7fe344cfec0c (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x22c0c)
#4 0x7fe344d7567e in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9967e)
#5 0x4abb54 in AP4_DataBuffer::ReallocateBuffer(unsigned int) /home/jas/Downloads/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4DataBuffer.cpp:210
#6 0x4abb54 in AP4_DataBuffer::SetDataSize(unsigned int) /home/jas/Downloads/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4DataBuffer.cpp:151
#7 0x48ba72 in AP4_Sample::ReadData(AP4_DataBuffer&, unsigned int, unsigned int) /home/jas/Downloads/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4Sample.cpp:147
#8 0x48ba72 in AP4_Sample::ReadData(AP4_DataBuffer&) /home/jas/Downloads/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4Sample.cpp:127
#9 0x4449dd in ReadSample /home/jas/Downloads/Bento4-SRC-1-5-1-627/Source/C++/Apps/Mp42Hls/Mp42Hls.cpp:976
#10 0x4485af in WriteSamples /home/jas/Downloads/Bento4-SRC-1-5-1-627/Source/C++/Apps/Mp42Hls/Mp42Hls.cpp:1251
#11 0x4412a0 in main /home/jas/Downloads/Bento4-SRC-1-5-1-627/Source/C++/Apps/Mp42Hls/Mp42Hls.cpp:2088
#12 0x7fe34439a82f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
#13 0x4445b8 in _start (/home/jas/Downloads/Bento4-SRC-1-5-1-627/cmakebuild/mp42hls+0x4445b8)
```
FoundBy: yjiiit@aliyun.com | Allocate for large amounts of memory failed in Ap4DataBuffer.cpp:210 at Bento4 1.5.1-627 when running mp42hls | https://api.github.com/repos/axiomatic-systems/Bento4/issues/342/comments | 1 | 2018-12-17T08:48:55Z | 2019-01-12T20:15:42Z | https://github.com/axiomatic-systems/Bento4/issues/342 | 391,610,142 | 342 |
[
"axiomatic-systems",
"Bento4"
] | A crafted input will lead to Memory allocation failed in Ap4Array.h at Bento4 1.5.1-627
Triggered by
./mp42hls crash.mp4
Poc
[crash.mp4.zip](https://github.com/axiomatic-systems/Bento4/files/2666834/crash.mp4.zip)
Bento4 Version 1.5.1-627
The ASAN information is as follows:
```
==7934==ERROR:
AddressSanitizer failed to allocate 0xc00003000 (51539619840) bytes of LargeMmapAllocator (errno: 12)
==7934==Process memory map follows:
0x000000400000-0x0000005aa000 /home/jas/Downloads/Bento4-SRC-1-5-1-627/cmakebuild/mp42hls
0x0000007a9000-0x0000007aa000 /home/jas/Downloads/Bento4-SRC-1-5-1-627/cmakebuild/mp42hls
0x0000007aa000-0x0000007b9000 /home/jas/Downloads/Bento4-SRC-1-5-1-627/cmakebuild/mp42hls
0x0000007b9000-0x0000007ba000
0x00007fff7000-0x00008fff7000
0x00008fff7000-0x02008fff7000
0x02008fff7000-0x10007fff8000
0x600000000000-0x602000000000
0x602000000000-0x602000010000
0x602000010000-0x603000000000
0x603000000000-0x603000010000
0x603000010000-0x604000000000
0x604000000000-0x604000010000
0x604000010000-0x606000000000
0x606000000000-0x606000010000
0x606000010000-0x607000000000
0x607000000000-0x607000010000
0x607000010000-0x608000000000
0x608000000000-0x608000010000
0x608000010000-0x60c000000000
0x60c000000000-0x60c000010000
0x60c000010000-0x60d000000000
0x60d000000000-0x60d000010000
0x60d000010000-0x60e000000000
0x60e000000000-0x60e000010000
0x60e000010000-0x611000000000
0x611000000000-0x611000010000
0x611000010000-0x616000000000
0x616000000000-0x616000020000
0x616000020000-0x619000000000
0x619000000000-0x619000020000
0x619000020000-0x621000000000
0x621000000000-0x621000020000
0x621000020000-0x631000000000
0x631000000000-0x631000030000
0x631000030000-0x640000000000
0x640000000000-0x640000003000
0x7f29f5000000-0x7f29f5100000
0x7f29f5200000-0x7f29f5300000
0x7f29f53a3000-0x7f29f76f5000
0x7f29f76f5000-0x7f29f77fd000 /lib/x86_64-linux-gnu/libm-2.23.so
0x7f29f77fd000-0x7f29f79fc000 /lib/x86_64-linux-gnu/libm-2.23.so
0x7f29f79fc000-0x7f29f79fd000 /lib/x86_64-linux-gnu/libm-2.23.so
0x7f29f79fd000-0x7f29f79fe000 /lib/x86_64-linux-gnu/libm-2.23.so
0x7f29f79fe000-0x7f29f7a01000 /lib/x86_64-linux-gnu/libdl-2.23.so
0x7f29f7a01000-0x7f29f7c00000 /lib/x86_64-linux-gnu/libdl-2.23.so
0x7f29f7c00000-0x7f29f7c01000 /lib/x86_64-linux-gnu/libdl-2.23.so
0x7f29f7c01000-0x7f29f7c02000 /lib/x86_64-linux-gnu/libdl-2.23.so
0x7f29f7c02000-0x7f29f7c1a000 /lib/x86_64-linux-gnu/libpthread-2.23.so
0x7f29f7c1a000-0x7f29f7e19000 /lib/x86_64-linux-gnu/libpthread-2.23.so
0x7f29f7e19000-0x7f29f7e1a000 /lib/x86_64-linux-gnu/libpthread-2.23.so
0x7f29f7e1a000-0x7f29f7e1b000 /lib/x86_64-linux-gnu/libpthread-2.23.so
0x7f29f7e1b000-0x7f29f7e1f000
0x7f29f7e1f000-0x7f29f7fdf000 /lib/x86_64-linux-gnu/libc-2.23.so
0x7f29f7fdf000-0x7f29f81df000 /lib/x86_64-linux-gnu/libc-2.23.so
0x7f29f81df000-0x7f29f81e3000 /lib/x86_64-linux-gnu/libc-2.23.so
0x7f29f81e3000-0x7f29f81e5000 /lib/x86_64-linux-gnu/libc-2.23.so
0x7f29f81e5000-0x7f29f81e9000
0x7f29f81e9000-0x7f29f81ff000 /lib/x86_64-linux-gnu/libgcc_s.so.1
0x7f29f81ff000-0x7f29f83fe000 /lib/x86_64-linux-gnu/libgcc_s.so.1
0x7f29f83fe000-0x7f29f83ff000 /lib/x86_64-linux-gnu/libgcc_s.so.1
0x7f29f83ff000-0x7f29f8571000 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
0x7f29f8571000-0x7f29f8771000 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
0x7f29f8771000-0x7f29f877b000 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
0x7f29f877b000-0x7f29f877d000 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
0x7f29f877d000-0x7f29f8781000
0x7f29f8781000-0x7f29f8875000 /usr/lib/x86_64-linux-gnu/libasan.so.2.0.0
0x7f29f8875000-0x7f29f8a75000 /usr/lib/x86_64-linux-gnu/libasan.so.2.0.0
0x7f29f8a75000-0x7f29f8a78000 /usr/lib/x86_64-linux-gnu/libasan.so.2.0.0
0x7f29f8a78000-0x7f29f8a79000 /usr/lib/x86_64-linux-gnu/libasan.so.2.0.0
0x7f29f8a79000-0x7f29f96ee000
0x7f29f96ee000-0x7f29f9714000 /lib/x86_64-linux-gnu/ld-2.23.so
0x7f29f98b9000-0x7f29f98fd000
0x7f29f98fd000-0x7f29f9913000
0x7f29f9913000-0x7f29f9914000 /lib/x86_64-linux-gnu/ld-2.23.so
0x7f29f9914000-0x7f29f9915000 /lib/x86_64-linux-gnu/ld-2.23.so
0x7f29f9915000-0x7f29f9916000
0x7ffd66377000-0x7ffd66398000 [stack]
0x7ffd663e0000-0x7ffd663e2000 [vvar]
0x7ffd663e2000-0x7ffd663e4000 [vdso]
0xffffffffff600000-0xffffffffff601000 [vsyscall]
==7934==End of process memory map.
==7934==AddressSanitizer CHECK failed: ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix.cc:121 "(("unable to mmap" && 0)) != (0)" (0x0, 0x0)
#0 0x7f29f8821631 (/usr/lib/x86_64-linux-gnu/libasan.so.2+0xa0631)
#1 0x7f29f88265e3 in __sanitizer::CheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0xa55e3)
#2 0x7f29f882e611 (/usr/lib/x86_64-linux-gnu/libasan.so.2+0xad611)
#3 0x7f29f87a3c0c (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x22c0c)
#4 0x7f29f881a4fe in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x994fe)
#5 0x53cc17 in AP4_Array<AP4_ElstEntry>::EnsureCapacity(unsigned int) /home/jas/Downloads/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4Array.h:172
#6 0x53cc17 in AP4_ElstAtom::AP4_ElstAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /home/jas/Downloads/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ElstAtom.cpp:73
#7 0x53d113 in AP4_ElstAtom::Create(unsigned int, AP4_ByteStream&) /home/jas/Downloads/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ElstAtom.cpp:51
#8 0x50fa1f in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/jas/Downloads/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:545
#9 0x5114d9 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/jas/Downloads/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:221
#10 0x46f3db in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/jas/Downloads/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:194
#11 0x46f3db in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/jas/Downloads/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:139
#12 0x46fb0e in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/jas/Downloads/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:88
#13 0x50e31b in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/jas/Downloads/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:764
#14 0x5114d9 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/jas/Downloads/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:221
#15 0x46f3db in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/jas/Downloads/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:194
#16 0x46f3db in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/jas/Downloads/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:139
#17 0x489f7a in AP4_TrakAtom::AP4_TrakAtom(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/jas/Downloads/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4TrakAtom.cpp:165
#18 0x50f738 in AP4_TrakAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/jas/Downloads/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4TrakAtom.h:58
#19 0x50f738 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/jas/Downloads/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:379
#20 0x5114d9 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/jas/Downloads/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:221
#21 0x46f3db in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/jas/Downloads/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:194
#22 0x46f3db in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/jas/Downloads/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4ContainerAtom.cpp:139
#23 0x51ede4 in AP4_MoovAtom::AP4_MoovAtom(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/jas/Downloads/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4MoovAtom.cpp:80
#24 0x50e523 in AP4_MoovAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/jas/Downloads/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4MoovAtom.h:56
#25 0x50e523 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/jas/Downloads/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:359
#26 0x510cb9 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/jas/Downloads/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:221
#27 0x510cb9 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, AP4_Atom*&) /home/jas/Downloads/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4AtomFactory.cpp:151
#28 0x474edf in AP4_File::ParseStream(AP4_ByteStream&, AP4_AtomFactory&, bool) /home/jas/Downloads/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4File.cpp:104
#29 0x474edf in AP4_File::AP4_File(AP4_ByteStream&, bool) /home/jas/Downloads/Bento4-SRC-1-5-1-627/Source/C++/Core/Ap4File.cpp:78
#30 0x440240 in main /home/jas/Downloads/Bento4-SRC-1-5-1-627/Source/C++/Apps/Mp42Hls/Mp42Hls.cpp:1837
#31 0x7f29f7e3f82f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
#32 0x4445b8 in _start (/home/jas/Downloads/Bento4-SRC-1-5-1-627/cmakebuild/mp42hls+0x4445b8)
```
FoundBy: yjiiit@aliyun.com | Allocate for large amounts of memory failed in Ap4Array.h:172 at Bento4 1.5.1-627 when running mp42hls | https://api.github.com/repos/axiomatic-systems/Bento4/issues/341/comments | 1 | 2018-12-11T09:25:26Z | 2019-01-12T20:02:46Z | https://github.com/axiomatic-systems/Bento4/issues/341 | 389,666,612 | 341 |
[
"axiomatic-systems",
"Bento4"
] | Hi,
I use `mp4dash` to encrypt Widevine dash content.
The `audio` section of the content can not be played by Shaka player, which gives error `RESTRICTIONS_CANNOT_BE_MET(4012)`. The description for this error is:
```
There exist some streams that could be decoded, but restrictions imposed by the application or the key system prevent us from playing. This may happen under the following conditions:
1. The application has given restrictions to the Player that restrict at least one content type completely (e.g. no playable audio).
2. The manifest specifies different keys than were given to us from the license server.
3. The key system has imposed output restrictions that cannot be met (such as HDCP) and there are no unrestricted alternatives.
```
The video section of the content can be played well by Shaka player.
This is the encryption command I use:
```
mp4dash --widevine-header provider:widevine_test#content_id:2a --encryption-key keyid:key [type=video]video.mp4 [type=audio,language=en]audio_en.mp4 [type=audio,language=fr]audio_fr.mp4
```
If I use Shaka Packager to encrypt the same content with the same encryption key, the same player can play it well against the same license server.
Please take a look. Any help would be appreciated! And please let me know if you need any more information.
Thanks. | Encrypted audio can not be played by Shaka player | https://api.github.com/repos/axiomatic-systems/Bento4/issues/340/comments | 1 | 2018-12-07T17:00:57Z | 2019-01-07T00:21:57Z | https://github.com/axiomatic-systems/Bento4/issues/340 | 388,736,768 | 340 |
[
"axiomatic-systems",
"Bento4"
] | I'd like to use Bento4 together with Video For Linux 2 to read raw H.264 frames from a hardware encoder and write them to an MP4 container file.
The HW interface and V4L2 part works fine to write a raw YUV file. But the Bento4 docs are not clear on how to do this. Using _AP4_MemoryByteStream_ seems the right direction.
> The class AP4_File represents all the information about an MP4 file. Internally, a tree of AP4_Atom objects plus other helper objects holds the actual information.
>
> To create an instance of the class, the caller must pass a reference to an AP4_ByteStream object that represents the file data storage. The SDK includes two subclasses of the abstract AP4_ByteStream class: AP4_FileByteStream for reading/writing disk-based files and AP4_MemoryByteStream for working with in- memory file images.
>
The sample file translation from H.264 to .MP4 Mp4Mux.cpp is the right idea but it is not evident on how to rework it to take data little by little...
The HW encoder outputs H.264 frames via V4L2 like this:
```
while (running)
{
// Dequeue a video frame
ioctl(mDevFd, VIDIOC_DQBUF, &v4l2Buffer);
writeBufferToMp4OutputFile(v4l2Buffer);
}
closeOutputFile();
```
How would I replace writeBufferToDisk to instead write to AP4_MemoryByteStream and then write out the .MP4 output file when done? | How to read H.264 data from V4L2 and write MP4 file | https://api.github.com/repos/axiomatic-systems/Bento4/issues/339/comments | 3 | 2018-12-06T15:23:07Z | 2019-01-08T05:03:39Z | https://github.com/axiomatic-systems/Bento4/issues/339 | 388,262,272 | 339 |
[
"axiomatic-systems",
"Bento4"
] | A crafted input will lead to memroy leaks in Ap4DescriptorFactory.cpp at Bento4 1.5.1-624.
Triggered by
./mp42aac crash-174 /dev/null
POC File: https://github.com/puppet-meteor/mp42aac_POC/blob/master/crash-174
Bento4 Version 1.5.1-624
The ASAN information is as follows:
```
ERROR: no movie in file
=================================================================
==44467==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 88 byte(s) in 1 object(s) allocated from:
#0 0x7f16727f5532 in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x99532)
#1 0x475aa9 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:89
#2 0x469de5 in AP4_EsdsAtom::AP4_EsdsAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:76
#3 0x469b27 in AP4_EsdsAtom::Create(unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:52
#4 0x50b5e1 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:472
#5 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#6 0x4abc97 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:194
#7 0x46b947 in AP4_SampleEntry::Read(AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:115
#8 0x46d1aa in AP4_AudioSampleEntry::AP4_AudioSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:420
#9 0x46e81a in AP4_MpegAudioSampleEntry::AP4_MpegAudioSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:655
#10 0x46eb5d in AP4_Mp4aSampleEntry::AP4_Mp4aSampleEntry(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:702
#11 0x50a119 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:272
#12 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#13 0x4c5ac4 in AP4_StsdAtom::AP4_StsdAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4StsdAtom.cpp:101
#14 0x4c5522 in AP4_StsdAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4StsdAtom.cpp:57
#15 0x50b221 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:422
#16 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#17 0x4abc97 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:194
#18 0x4ab74c in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:139
#19 0x4ab2d9 in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:88
#20 0x50c9ab in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:755
#21 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#22 0x4abc97 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:194
#23 0x4ab74c in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:139
#24 0x4ab2d9 in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:88
#25 0x50c9ab in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:755
#26 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#27 0x4abc97 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:194
#28 0x4ab74c in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:139
#29 0x4ab2d9 in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:88
Indirect leak of 805306239 byte(s) in 4 object(s) allocated from:
#0 0x7f16727f56b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x4c5260 in AP4_DataBuffer::ReallocateBuffer(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:210
#2 0x4c4f6b in AP4_DataBuffer::SetDataSize(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:151
#3 0x47276a in AP4_UnknownDescriptor::AP4_UnknownDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4Descriptor.cpp:65
#4 0x475e38 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:126
#5 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#6 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#7 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#8 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#9 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#10 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#11 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#12 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#13 0x52ff7f in AP4_InitialObjectDescriptor::AP4_InitialObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:257
#14 0x475ad9 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:89
#15 0x469de5 in AP4_EsdsAtom::AP4_EsdsAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:76
#16 0x469b27 in AP4_EsdsAtom::Create(unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:52
#17 0x50b5e1 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:472
#18 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#19 0x4abc97 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:194
#20 0x46b947 in AP4_SampleEntry::Read(AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:115
#21 0x46d1aa in AP4_AudioSampleEntry::AP4_AudioSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:420
#22 0x46e81a in AP4_MpegAudioSampleEntry::AP4_MpegAudioSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:655
#23 0x46eb5d in AP4_Mp4aSampleEntry::AP4_Mp4aSampleEntry(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:702
#24 0x50a119 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:272
#25 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#26 0x4c5ac4 in AP4_StsdAtom::AP4_StsdAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4StsdAtom.cpp:101
#27 0x4c5522 in AP4_StsdAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4StsdAtom.cpp:57
#28 0x50b221 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:422
#29 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
.........................................................................
Indirect leak of 24 byte(s) in 1 object(s) allocated from:
#0 0x7f16727f5532 in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x99532)
#1 0x512736 in AP4_List<AP4_Descriptor>::Add(AP4_Descriptor*) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4List.h:160
#2 0x52ec8d in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:101
#3 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#4 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#5 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#6 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#7 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#8 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#9 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#10 0x52ff7f in AP4_InitialObjectDescriptor::AP4_InitialObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:257
#11 0x475ad9 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:89
#12 0x469de5 in AP4_EsdsAtom::AP4_EsdsAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:76
#13 0x469b27 in AP4_EsdsAtom::Create(unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:52
#14 0x50b5e1 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:472
#15 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#16 0x4abc97 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:194
#17 0x46b947 in AP4_SampleEntry::Read(AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:115
#18 0x46d1aa in AP4_AudioSampleEntry::AP4_AudioSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:420
#19 0x46e81a in AP4_MpegAudioSampleEntry::AP4_MpegAudioSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:655
#20 0x46eb5d in AP4_Mp4aSampleEntry::AP4_Mp4aSampleEntry(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:702
#21 0x50a119 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:272
#22 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#23 0x4c5ac4 in AP4_StsdAtom::AP4_StsdAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4StsdAtom.cpp:101
#24 0x4c5522 in AP4_StsdAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4StsdAtom.cpp:57
#25 0x50b221 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:422
#26 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#27 0x4abc97 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:194
#28 0x4ab74c in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:139
#29 0x4ab2d9 in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:88
Indirect leak of 1 byte(s) in 1 object(s) allocated from:
#0 0x7f16727f56b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x4c5260 in AP4_DataBuffer::ReallocateBuffer(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:210
#2 0x4c4f6b in AP4_DataBuffer::SetDataSize(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:151
#3 0x47276a in AP4_UnknownDescriptor::AP4_UnknownDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4Descriptor.cpp:65
#4 0x475e38 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:126
#5 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#6 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#7 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#8 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#9 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#10 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#11 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#12 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#13 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#14 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#15 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#16 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#17 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#18 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#19 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#20 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#21 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#22 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#23 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#24 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#25 0x52ff7f in AP4_InitialObjectDescriptor::AP4_InitialObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:257
#26 0x475ad9 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:89
#27 0x469de5 in AP4_EsdsAtom::AP4_EsdsAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:76
#28 0x469b27 in AP4_EsdsAtom::Create(unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:52
#29 0x50b5e1 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:472
SUMMARY: AddressSanitizer: 7247778252 byte(s) leaked in 565 allocation(s).
```
Found by puppet@zju.edu.cn
Assigned as CVE-2018-18051 | memroy leaks in Ap4DescriptorFactory.cpp:89 at Bento4 1.5.1-624 when running mp42aac | https://api.github.com/repos/axiomatic-systems/Bento4/issues/337/comments | 0 | 2018-12-02T07:20:52Z | 2018-12-02T08:52:17Z | https://github.com/axiomatic-systems/Bento4/issues/337 | 386,534,941 | 337 |
[
"axiomatic-systems",
"Bento4"
] | A crafted input will lead to memory leaks in Ap4DescriptorFactory.cpp:84 at Bento4 1.5.1-624.
Triggered by
./mp42aac crash-58 /dev/null
POC File: https://github.com/puppet-meteor/mp42aac_POC/blob/master/crash-58
Bento4 Version 1.5.1-624
The ASAN information is as follows:
```
=================================================================
==44404==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 80 byte(s) in 1 object(s) allocated from:
#0 0x7f6474c84532 in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x99532)
#1 0x475a3c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#2 0x469de5 in AP4_EsdsAtom::AP4_EsdsAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:76
#3 0x469b27 in AP4_EsdsAtom::Create(unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:52
#4 0x50b5e1 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:472
#5 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#6 0x4abc97 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:194
#7 0x46b947 in AP4_SampleEntry::Read(AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:115
#8 0x46d1aa in AP4_AudioSampleEntry::AP4_AudioSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:420
#9 0x46e81a in AP4_MpegAudioSampleEntry::AP4_MpegAudioSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:655
#10 0x46eb5d in AP4_Mp4aSampleEntry::AP4_Mp4aSampleEntry(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:702
#11 0x50a119 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:272
#12 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#13 0x4c5ac4 in AP4_StsdAtom::AP4_StsdAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4StsdAtom.cpp:101
#14 0x4c5522 in AP4_StsdAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4StsdAtom.cpp:57
#15 0x50b221 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:422
#16 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#17 0x4abc97 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:194
#18 0x4ab74c in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:139
#19 0x4ab2d9 in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:88
#20 0x50c9ab in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:755
#21 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#22 0x4abc97 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:194
#23 0x4ab74c in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:139
#24 0x4ab2d9 in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:88
#25 0x50c9ab in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:755
#26 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#27 0x4abc97 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:194
#28 0x4ab74c in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:139
#29 0x4ab2d9 in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:88
Direct leak of 80 byte(s) in 1 object(s) allocated from:
#0 0x7f6474c84532 in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x99532)
#1 0x475a3c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#2 0x469de5 in AP4_EsdsAtom::AP4_EsdsAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:76
#3 0x469b27 in AP4_EsdsAtom::Create(unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:52
#4 0x50b5e1 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:472
#5 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#6 0x4abc97 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:194
#7 0x46b947 in AP4_SampleEntry::Read(AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:115
#8 0x46d1aa in AP4_AudioSampleEntry::AP4_AudioSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:420
#9 0x46e81a in AP4_MpegAudioSampleEntry::AP4_MpegAudioSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:655
#10 0x46eb5d in AP4_Mp4aSampleEntry::AP4_Mp4aSampleEntry(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:702
#11 0x50a119 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:272
#12 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#13 0x4c5ac4 in AP4_StsdAtom::AP4_StsdAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4StsdAtom.cpp:101
#14 0x4c5522 in AP4_StsdAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4StsdAtom.cpp:57
#15 0x50b221 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:422
#16 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#17 0x4abc97 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:194
#18 0x4ab74c in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:139
#19 0x4ab2d9 in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:88
#20 0x50c9ab in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:755
#21 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#22 0x476653 in AP4_DrefAtom::AP4_DrefAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DrefAtom.cpp:84
#23 0x4761ee in AP4_DrefAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DrefAtom.cpp:50
#24 0x50baa6 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:533
#25 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#26 0x4abc97 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:194
#27 0x4ab74c in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:139
#28 0x4ab2d9 in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:88
#29 0x50c9ab in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:755
......................................................................................
Indirect leak of 2 byte(s) in 2 object(s) allocated from:
#0 0x7f6474c846b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x4c5260 in AP4_DataBuffer::ReallocateBuffer(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:210
#2 0x4c4f6b in AP4_DataBuffer::SetDataSize(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:151
#3 0x47276a in AP4_UnknownDescriptor::AP4_UnknownDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4Descriptor.cpp:65
#4 0x475e38 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:126
#5 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#6 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#7 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#8 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#9 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#10 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#11 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#12 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#13 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#14 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#15 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#16 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#17 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#18 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#19 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#20 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#21 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#22 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#23 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#24 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#25 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#26 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#27 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#28 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#29 0x469de5 in AP4_EsdsAtom::AP4_EsdsAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:76
Indirect leak of 2 byte(s) in 2 object(s) allocated from:
#0 0x7f6474c846b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x4c5260 in AP4_DataBuffer::ReallocateBuffer(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:210
#2 0x4c4f6b in AP4_DataBuffer::SetDataSize(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:151
#3 0x47276a in AP4_UnknownDescriptor::AP4_UnknownDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4Descriptor.cpp:65
#4 0x475e38 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:126
#5 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#6 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#7 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#8 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#9 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#10 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#11 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#12 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#13 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#14 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#15 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#16 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#17 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#18 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#19 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#20 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#21 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#22 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#23 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#24 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#25 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#26 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#27 0x469de5 in AP4_EsdsAtom::AP4_EsdsAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:76
#28 0x469b27 in AP4_EsdsAtom::Create(unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:52
#29 0x50b5e1 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:472
SUMMARY: AddressSanitizer: 9524175972 byte(s) leaked in 6220 allocation(s).
```
Found by puppet@zju.edu.cn
Assigned as CVE-2018-18050 | memory leaks in Ap4DescriptorFactory.cpp:84 at Bento4 1.5.1-624. | https://api.github.com/repos/axiomatic-systems/Bento4/issues/336/comments | 0 | 2018-12-02T07:16:42Z | 2019-01-12T20:00:27Z | https://github.com/axiomatic-systems/Bento4/issues/336 | 386,534,677 | 336 |
[
"axiomatic-systems",
"Bento4"
] | A crafted input will lead to a crash in Ap4StcoAtom.cpp:81 at Bento4 1.5.1-624.
Triggered by
./mp42aac crash-29 /dev/null
POC File: https://github.com/puppet-meteor/mp42aac_POC/blob/master/crash-29
Bento4 Version 1.5.1-624
The ASAN information is as follows:
```
==44307==ERROR: AddressSanitizer failed to allocate 0x100002000 (4294975488) bytes of LargeMmapAllocator (errno: 12)
==44307==Process memory map follows:
0x000000400000-0x000000774000 /home/puppet/target/Bento4-SRC-1-5-1-624/mybu2/mp42aac
0x000000973000-0x000000974000 /home/puppet/target/Bento4-SRC-1-5-1-624/mybu2/mp42aac
0x000000974000-0x000000b03000 /home/puppet/target/Bento4-SRC-1-5-1-624/mybu2/mp42aac
0x000000b03000-0x000000b04000
0x00007fff7000-0x00008fff7000
0x00008fff7000-0x02008fff7000
0x02008fff7000-0x10007fff8000
0x600000000000-0x602000000000
0x602000000000-0x602000010000
0x602000010000-0x603000000000
0x603000000000-0x603000010000
0x603000010000-0x604000000000
0x604000000000-0x604000010000
0x604000010000-0x606000000000
0x606000000000-0x606000010000
0x606000010000-0x607000000000
0x607000000000-0x607000010000
0x607000010000-0x616000000000
0x616000000000-0x616000020000
0x616000020000-0x619000000000
0x619000000000-0x619000020000
0x619000020000-0x621000000000
0x621000000000-0x621000020000
0x621000020000-0x631000000000
0x631000000000-0x631000030000
0x631000030000-0x640000000000
0x640000000000-0x640000003000
0x7fd8b7200000-0x7fd8b7300000
0x7fd8b7400000-0x7fd8b7500000
0x7fd8b75d0000-0x7fd8b9922000
0x7fd8b9922000-0x7fd8b9a2a000 /lib/x86_64-linux-gnu/libm-2.23.so
0x7fd8b9a2a000-0x7fd8b9c29000 /lib/x86_64-linux-gnu/libm-2.23.so
0x7fd8b9c29000-0x7fd8b9c2a000 /lib/x86_64-linux-gnu/libm-2.23.so
0x7fd8b9c2a000-0x7fd8b9c2b000 /lib/x86_64-linux-gnu/libm-2.23.so
0x7fd8b9c2b000-0x7fd8b9c2e000 /lib/x86_64-linux-gnu/libdl-2.23.so
0x7fd8b9c2e000-0x7fd8b9e2d000 /lib/x86_64-linux-gnu/libdl-2.23.so
0x7fd8b9e2d000-0x7fd8b9e2e000 /lib/x86_64-linux-gnu/libdl-2.23.so
0x7fd8b9e2e000-0x7fd8b9e2f000 /lib/x86_64-linux-gnu/libdl-2.23.so
0x7fd8b9e2f000-0x7fd8b9e47000 /lib/x86_64-linux-gnu/libpthread-2.23.so
0x7fd8b9e47000-0x7fd8ba046000 /lib/x86_64-linux-gnu/libpthread-2.23.so
0x7fd8ba046000-0x7fd8ba047000 /lib/x86_64-linux-gnu/libpthread-2.23.so
0x7fd8ba047000-0x7fd8ba048000 /lib/x86_64-linux-gnu/libpthread-2.23.so
0x7fd8ba048000-0x7fd8ba04c000
0x7fd8ba04c000-0x7fd8ba20c000 /lib/x86_64-linux-gnu/libc-2.23.so
0x7fd8ba20c000-0x7fd8ba40c000 /lib/x86_64-linux-gnu/libc-2.23.so
0x7fd8ba40c000-0x7fd8ba410000 /lib/x86_64-linux-gnu/libc-2.23.so
0x7fd8ba410000-0x7fd8ba412000 /lib/x86_64-linux-gnu/libc-2.23.so
0x7fd8ba412000-0x7fd8ba416000
0x7fd8ba416000-0x7fd8ba42d000 /lib/x86_64-linux-gnu/libgcc_s.so.1
0x7fd8ba42d000-0x7fd8ba62c000 /lib/x86_64-linux-gnu/libgcc_s.so.1
0x7fd8ba62c000-0x7fd8ba62d000 /lib/x86_64-linux-gnu/libgcc_s.so.1
0x7fd8ba62d000-0x7fd8ba62e000 /lib/x86_64-linux-gnu/libgcc_s.so.1
0x7fd8ba62e000-0x7fd8ba7a0000 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
0x7fd8ba7a0000-0x7fd8ba9a0000 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
0x7fd8ba9a0000-0x7fd8ba9aa000 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
0x7fd8ba9aa000-0x7fd8ba9ac000 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
0x7fd8ba9ac000-0x7fd8ba9b0000
0x7fd8ba9b0000-0x7fd8baaa4000 /usr/lib/x86_64-linux-gnu/libasan.so.2.0.0
0x7fd8baaa4000-0x7fd8baca4000 /usr/lib/x86_64-linux-gnu/libasan.so.2.0.0
0x7fd8baca4000-0x7fd8baca7000 /usr/lib/x86_64-linux-gnu/libasan.so.2.0.0
0x7fd8baca7000-0x7fd8baca8000 /usr/lib/x86_64-linux-gnu/libasan.so.2.0.0
0x7fd8baca8000-0x7fd8bb91d000
0x7fd8bb91d000-0x7fd8bb943000 /lib/x86_64-linux-gnu/ld-2.23.so
0x7fd8bba93000-0x7fd8bbb1b000
0x7fd8bbb1b000-0x7fd8bbb42000
0x7fd8bbb42000-0x7fd8bbb43000 /lib/x86_64-linux-gnu/ld-2.23.so
0x7fd8bbb43000-0x7fd8bbb44000 /lib/x86_64-linux-gnu/ld-2.23.so
0x7fd8bbb44000-0x7fd8bbb45000
0x7ffdfa6d5000-0x7ffdfa6f6000 [stack]
0x7ffdfa729000-0x7ffdfa72c000 [vvar]
0x7ffdfa72c000-0x7ffdfa72e000 [vdso]
0xffffffffff600000-0xffffffffff601000 [vsyscall]
==44307==End of process memory map.
==44307==AddressSanitizer CHECK failed: ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix.cc:121 "(("unable to mmap" && 0)) != (0)" (0x0, 0x0)
#0 0x7fd8baa50631 (/usr/lib/x86_64-linux-gnu/libasan.so.2+0xa0631)
#1 0x7fd8baa555e3 in __sanitizer::CheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0xa55e3)
#2 0x7fd8baa5d611 (/usr/lib/x86_64-linux-gnu/libasan.so.2+0xad611)
#3 0x7fd8ba9d2c0c (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x22c0c)
#4 0x7fd8baa4967e in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9967e)
#5 0x4c75c8 in AP4_StcoAtom::AP4_StcoAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4StcoAtom.cpp:81
#6 0x4c72b1 in AP4_StcoAtom::Create(unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4StcoAtom.cpp:52
#7 0x50b2e1 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:432
#8 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#9 0x509373 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:150
#10 0x468c0b in AP4_File::ParseStream(AP4_ByteStream&, AP4_AtomFactory&, bool) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4File.cpp:104
#11 0x46887a in AP4_File::AP4_File(AP4_ByteStream&, bool) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4File.cpp:78
#12 0x451590 in main /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Apps/Mp42Aac/Mp42Aac.cpp:250
#13 0x7fd8ba06c82f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
#14 0x4505c8 in _start (/home/puppet/target/Bento4-SRC-1-5-1-624/mybu2/mp42aac+0x4505c8)
```
Found by puppet@zju.edu.cn
Assigned as CVE-2018-18037 | A crafted input will lead to a crash in Ap4StcoAtom.cpp:81 at Bento4 1.5.1-624. | https://api.github.com/repos/axiomatic-systems/Bento4/issues/335/comments | 2 | 2018-12-02T07:09:37Z | 2019-02-26T04:40:54Z | https://github.com/axiomatic-systems/Bento4/issues/335 | 386,534,280 | 335 |
[
"axiomatic-systems",
"Bento4"
] | A crafted input will lead to a crash in Ap4DataBuffer.cpp:210 at Bento4 1.5.1-624.
Triggered by
./mp42aac crash-3 /dev/null
POC File: https://github.com/puppet-meteor/mp42aac_POC/blob/master/crash-3
Bento4 Version 1.5.1-624
The ASAN information is as follows:
```
==44279==ERROR: AddressSanitizer failed to allocate 0x100002000 (4294975488) bytes of LargeMmapAllocator (errno: 12)
==44279==Process memory map follows:
0x000000400000-0x000000774000 /home/puppet/target/Bento4-SRC-1-5-1-624/mybu2/mp42aac
0x000000973000-0x000000974000 /home/puppet/target/Bento4-SRC-1-5-1-624/mybu2/mp42aac
0x000000974000-0x000000b03000 /home/puppet/target/Bento4-SRC-1-5-1-624/mybu2/mp42aac
0x000000b03000-0x000000b04000
0x00007fff7000-0x00008fff7000
0x00008fff7000-0x02008fff7000
0x02008fff7000-0x10007fff8000
0x600000000000-0x602000000000
0x602000000000-0x602000010000
0x602000010000-0x603000000000
0x603000000000-0x603000010000
0x603000010000-0x604000000000
0x604000000000-0x604000010000
0x604000010000-0x607000000000
0x607000000000-0x607000010000
0x607000010000-0x608000000000
0x608000000000-0x608000010000
0x608000010000-0x611000000000
0x611000000000-0x611000010000
0x611000010000-0x616000000000
0x616000000000-0x616000020000
0x616000020000-0x619000000000
0x619000000000-0x619000020000
0x619000020000-0x621000000000
0x621000000000-0x621000020000
0x621000020000-0x624000000000
0x624000000000-0x624000020000
0x624000020000-0x631000000000
0x631000000000-0x631000030000
0x631000030000-0x640000000000
0x640000000000-0x640000003000
0x7ff582100000-0x7ff582200000
0x7ff582300000-0x7ff582400000
0x7ff582455000-0x7ff5847a7000
0x7ff5847a7000-0x7ff5848af000 /lib/x86_64-linux-gnu/libm-2.23.so
0x7ff5848af000-0x7ff584aae000 /lib/x86_64-linux-gnu/libm-2.23.so
0x7ff584aae000-0x7ff584aaf000 /lib/x86_64-linux-gnu/libm-2.23.so
0x7ff584aaf000-0x7ff584ab0000 /lib/x86_64-linux-gnu/libm-2.23.so
0x7ff584ab0000-0x7ff584ab3000 /lib/x86_64-linux-gnu/libdl-2.23.so
0x7ff584ab3000-0x7ff584cb2000 /lib/x86_64-linux-gnu/libdl-2.23.so
0x7ff584cb2000-0x7ff584cb3000 /lib/x86_64-linux-gnu/libdl-2.23.so
0x7ff584cb3000-0x7ff584cb4000 /lib/x86_64-linux-gnu/libdl-2.23.so
0x7ff584cb4000-0x7ff584ccc000 /lib/x86_64-linux-gnu/libpthread-2.23.so
0x7ff584ccc000-0x7ff584ecb000 /lib/x86_64-linux-gnu/libpthread-2.23.so
0x7ff584ecb000-0x7ff584ecc000 /lib/x86_64-linux-gnu/libpthread-2.23.so
0x7ff584ecc000-0x7ff584ecd000 /lib/x86_64-linux-gnu/libpthread-2.23.so
0x7ff584ecd000-0x7ff584ed1000
0x7ff584ed1000-0x7ff585091000 /lib/x86_64-linux-gnu/libc-2.23.so
0x7ff585091000-0x7ff585291000 /lib/x86_64-linux-gnu/libc-2.23.so
0x7ff585291000-0x7ff585295000 /lib/x86_64-linux-gnu/libc-2.23.so
0x7ff585295000-0x7ff585297000 /lib/x86_64-linux-gnu/libc-2.23.so
0x7ff585297000-0x7ff58529b000
0x7ff58529b000-0x7ff5852b2000 /lib/x86_64-linux-gnu/libgcc_s.so.1
0x7ff5852b2000-0x7ff5854b1000 /lib/x86_64-linux-gnu/libgcc_s.so.1
0x7ff5854b1000-0x7ff5854b2000 /lib/x86_64-linux-gnu/libgcc_s.so.1
0x7ff5854b2000-0x7ff5854b3000 /lib/x86_64-linux-gnu/libgcc_s.so.1
0x7ff5854b3000-0x7ff585625000 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
0x7ff585625000-0x7ff585825000 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
0x7ff585825000-0x7ff58582f000 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
0x7ff58582f000-0x7ff585831000 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
0x7ff585831000-0x7ff585835000
0x7ff585835000-0x7ff585929000 /usr/lib/x86_64-linux-gnu/libasan.so.2.0.0
0x7ff585929000-0x7ff585b29000 /usr/lib/x86_64-linux-gnu/libasan.so.2.0.0
0x7ff585b29000-0x7ff585b2c000 /usr/lib/x86_64-linux-gnu/libasan.so.2.0.0
0x7ff585b2c000-0x7ff585b2d000 /usr/lib/x86_64-linux-gnu/libasan.so.2.0.0
0x7ff585b2d000-0x7ff5867a2000
0x7ff5867a2000-0x7ff5867c8000 /lib/x86_64-linux-gnu/ld-2.23.so
0x7ff586814000-0x7ff5869a0000
0x7ff5869a0000-0x7ff5869c7000
0x7ff5869c7000-0x7ff5869c8000 /lib/x86_64-linux-gnu/ld-2.23.so
0x7ff5869c8000-0x7ff5869c9000 /lib/x86_64-linux-gnu/ld-2.23.so
0x7ff5869c9000-0x7ff5869ca000
0x7ffd7a9c0000-0x7ffd7a9e1000 [stack]
0x7ffd7a9ee000-0x7ffd7a9f1000 [vvar]
0x7ffd7a9f1000-0x7ffd7a9f3000 [vdso]
0xffffffffff600000-0xffffffffff601000 [vsyscall]
==44279==End of process memory map.
==44279==AddressSanitizer CHECK failed: ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix.cc:121 "(("unable to mmap" && 0)) != (0)" (0x0, 0x0)
#0 0x7ff5858d5631 (/usr/lib/x86_64-linux-gnu/libasan.so.2+0xa0631)
#1 0x7ff5858da5e3 in __sanitizer::CheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0xa55e3)
#2 0x7ff5858e2611 (/usr/lib/x86_64-linux-gnu/libasan.so.2+0xad611)
#3 0x7ff585857c0c (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x22c0c)
#4 0x7ff5858ce67e in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9967e)
#5 0x4c5260 in AP4_DataBuffer::ReallocateBuffer(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:210
#6 0x4c4f6b in AP4_DataBuffer::SetDataSize(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:151
#7 0x478751 in AP4_UnknownAtom::AP4_UnknownAtom(unsigned int, unsigned long long, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4Atom.cpp:346
#8 0x509b25 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:228
#9 0x509373 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:150
#10 0x468c0b in AP4_File::ParseStream(AP4_ByteStream&, AP4_AtomFactory&, bool) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4File.cpp:104
#11 0x46887a in AP4_File::AP4_File(AP4_ByteStream&, bool) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4File.cpp:78
#12 0x451590 in main /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Apps/Mp42Aac/Mp42Aac.cpp:250
#13 0x7ff584ef182f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
#14 0x4505c8 in _start (/home/puppet/target/Bento4-SRC-1-5-1-624/mybu2/mp42aac+0x4505c8)
```
Found by puppet@zju.edu.cn
Assigned as CVE-2018-17814 | A crafted input will lead to a crash in Ap4DataBuffer.cpp:210 at Bento4 1.5.1-624. | https://api.github.com/repos/axiomatic-systems/Bento4/issues/334/comments | 2 | 2018-12-02T07:00:46Z | 2019-02-26T04:40:54Z | https://github.com/axiomatic-systems/Bento4/issues/334 | 386,533,751 | 334 |
[
"axiomatic-systems",
"Bento4"
] | A crafted input will lead to memory leaks at Bento4 1.5.1-624.
Trigger by
./mp42aac crash-48 /dev/null
POC File: https://github.com/puppet-meteor/mp42aac_POC/blob/master/crash-48
ASAN infomation:
```
=================================================================
==9226==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 72 byte(s) in 1 object(s) allocated from:
#0 0x7f54501d6532 in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x99532)
#1 0x475c30 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#2 0x469de5 in AP4_EsdsAtom::AP4_EsdsAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:76
#3 0x469b27 in AP4_EsdsAtom::Create(unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:52
#4 0x50b5e1 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:472
#5 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#6 0x4abc97 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:194
#7 0x46b947 in AP4_SampleEntry::Read(AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:115
#8 0x46d1aa in AP4_AudioSampleEntry::AP4_AudioSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:420
#9 0x46e81a in AP4_MpegAudioSampleEntry::AP4_MpegAudioSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:655
#10 0x46eb5d in AP4_Mp4aSampleEntry::AP4_Mp4aSampleEntry(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:702
#11 0x50a119 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:272
#12 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#13 0x4c5ac4 in AP4_StsdAtom::AP4_StsdAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4StsdAtom.cpp:101
#14 0x4c5522 in AP4_StsdAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4StsdAtom.cpp:57
#15 0x50b221 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:422
#16 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#17 0x4abc97 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:194
#18 0x4ab74c in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:139
#19 0x4ab2d9 in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:88
#20 0x50c9ab in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:755
#21 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#22 0x4abc97 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:194
#23 0x4ab74c in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:139
#24 0x4ab2d9 in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:88
#25 0x50c9ab in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:755
#26 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#27 0x4abc97 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:194
#28 0x4ab74c in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:139
#29 0x4ab2d9 in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:88
Indirect leak of 9932016768 byte(s) in 134 object(s) allocated from:
#0 0x7f54501d66b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x4c5260 in AP4_DataBuffer::ReallocateBuffer(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:210
#2 0x4c4f6b in AP4_DataBuffer::SetDataSize(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:151
#3 0x47276a in AP4_UnknownDescriptor::AP4_UnknownDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4Descriptor.cpp:65
#4 0x475e38 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:126
#5 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#6 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#7 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#8 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#9 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#10 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#11 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#12 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#13 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#14 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#15 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#16 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#17 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#18 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#19 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#20 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#21 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#22 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#23 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#24 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#25 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#26 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#27 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#28 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#29 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
Indirect leak of 536865783 byte(s) in 19 object(s) allocated from:
#0 0x7f54501d66b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x4c5260 in AP4_DataBuffer::ReallocateBuffer(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:210
#2 0x4c4f6b in AP4_DataBuffer::SetDataSize(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:151
#3 0x47276a in AP4_UnknownDescriptor::AP4_UnknownDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4Descriptor.cpp:65
#4 0x475e38 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:126
#5 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#6 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#7 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#8 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#9 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#10 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#11 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#12 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#13 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#14 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#15 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#16 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#17 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#18 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#19 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#20 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#21 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#22 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#23 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#24 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#25 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#26 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#27 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#28 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#29 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
Indirect leak of 268433000 byte(s) in 4 object(s) allocated from:
#0 0x7f54501d66b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x4c5260 in AP4_DataBuffer::ReallocateBuffer(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:210
#2 0x4c4f6b in AP4_DataBuffer::SetDataSize(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:151
#3 0x47276a in AP4_UnknownDescriptor::AP4_UnknownDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4Descriptor.cpp:65
#4 0x475e38 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:126
#5 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#6 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#7 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#8 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#9 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#10 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#11 0x469de5 in AP4_EsdsAtom::AP4_EsdsAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:76
#12 0x469b27 in AP4_EsdsAtom::Create(unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:52
#13 0x50b5e1 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:472
#14 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#15 0x4abc97 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:194
#16 0x46b947 in AP4_SampleEntry::Read(AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:115
#17 0x46d1aa in AP4_AudioSampleEntry::AP4_AudioSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:420
#18 0x46e81a in AP4_MpegAudioSampleEntry::AP4_MpegAudioSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:655
#19 0x46eb5d in AP4_Mp4aSampleEntry::AP4_Mp4aSampleEntry(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:702
#20 0x50a119 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:272
#21 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#22 0x4c5ac4 in AP4_StsdAtom::AP4_StsdAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4StsdAtom.cpp:101
#23 0x4c5522 in AP4_StsdAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4StsdAtom.cpp:57
#24 0x50b221 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:422
#25 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#26 0x4abc97 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:194
#27 0x4ab74c in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:139
#28 0x4ab2d9 in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:88
#29 0x50c9ab in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:755
Indirect leak of 268433000 byte(s) in 4 object(s) allocated from:
#0 0x7f54501d66b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x4c5260 in AP4_DataBuffer::ReallocateBuffer(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:210
#2 0x4c4f6b in AP4_DataBuffer::SetDataSize(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:151
#3 0x47276a in AP4_UnknownDescriptor::AP4_UnknownDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4Descriptor.cpp:65
#4 0x475e38 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:126
#5 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#6 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#7 0x510ea7 in AP4_EsDescriptor::AP4_EsDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsDescriptor.cpp:105
#8 0x475bf3 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:101
#9 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#10 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#11 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#12 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#13 0x469de5 in AP4_EsdsAtom::AP4_EsdsAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:76
#14 0x469b27 in AP4_EsdsAtom::Create(unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:52
#15 0x50b5e1 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:472
#16 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#17 0x4abc97 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:194
#18 0x46b947 in AP4_SampleEntry::Read(AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:115
#19 0x46d1aa in AP4_AudioSampleEntry::AP4_AudioSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:420
#20 0x46e81a in AP4_MpegAudioSampleEntry::AP4_MpegAudioSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:655
#21 0x46eb5d in AP4_Mp4aSampleEntry::AP4_Mp4aSampleEntry(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:702
#22 0x50a119 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:272
#23 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#24 0x4c5ac4 in AP4_StsdAtom::AP4_StsdAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4StsdAtom.cpp:101
#25 0x4c5522 in AP4_StsdAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4StsdAtom.cpp:57
#26 0x50b221 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:422
#27 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#28 0x4abc97 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:194
#29 0x4ab74c in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:139
Indirect leak of 268432888 byte(s) in 6 object(s) allocated from:
#0 0x7f54501d66b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x4c5260 in AP4_DataBuffer::ReallocateBuffer(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:210
#2 0x4c4f6b in AP4_DataBuffer::SetDataSize(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:151
#3 0x47276a in AP4_UnknownDescriptor::AP4_UnknownDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4Descriptor.cpp:65
#4 0x475e38 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:126
#5 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#6 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#7 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#8 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#9 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#10 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#11 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#12 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#13 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#14 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#15 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#16 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#17 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#18 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#19 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#20 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#21 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#22 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#23 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#24 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#25 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#26 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#27 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#28 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#29 0x510ea7 in AP4_EsDescriptor::AP4_EsDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsDescriptor.cpp:105
Indirect leak of 268432884 byte(s) in 2 object(s) allocated from:
#0 0x7f54501d66b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x4c5260 in AP4_DataBuffer::ReallocateBuffer(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:210
#2 0x4c4f6b in AP4_DataBuffer::SetDataSize(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:151
#3 0x47276a in AP4_UnknownDescriptor::AP4_UnknownDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4Descriptor.cpp:65
#4 0x475e38 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:126
#5 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#6 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#7 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#8 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#9 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#10 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#11 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#12 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#13 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#14 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#15 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#16 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#17 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#18 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#19 0x510ea7 in AP4_EsDescriptor::AP4_EsDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsDescriptor.cpp:105
#20 0x475bf3 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:101
#21 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#22 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#23 0x469de5 in AP4_EsdsAtom::AP4_EsdsAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:76
#24 0x469b27 in AP4_EsdsAtom::Create(unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:52
#25 0x50b5e1 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:472
#26 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#27 0x4abc97 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:194
#28 0x46b947 in AP4_SampleEntry::Read(AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:115
#29 0x46d1aa in AP4_AudioSampleEntry::AP4_AudioSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:420
Indirect leak of 26160 byte(s) in 327 object(s) allocated from:
#0 0x7f54501d6532 in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x99532)
#1 0x475a3c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#2 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#3 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#4 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#5 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#6 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#7 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#8 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#9 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#10 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#11 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#12 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#13 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#14 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#15 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#16 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#17 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#18 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#19 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#20 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#21 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#22 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#23 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#24 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#25 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#26 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#27 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#28 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#29 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
Indirect leak of 14040 byte(s) in 585 object(s) allocated from:
#0 0x7f54501d6532 in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x99532)
#1 0x512736 in AP4_List<AP4_Descriptor>::Add(AP4_Descriptor*) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4List.h:160
#2 0x52ec8d in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:101
#3 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#4 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#5 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#6 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#7 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#8 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#9 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#10 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#11 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#12 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#13 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#14 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#15 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#16 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#17 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#18 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#19 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#20 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#21 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#22 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#23 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#24 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#25 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#26 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#27 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#28 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#29 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
Indirect leak of 13160 byte(s) in 235 object(s) allocated from:
#0 0x7f54501d6532 in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x99532)
#1 0x475e08 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:126
#2 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#3 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#4 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#5 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#6 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#7 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#8 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#9 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#10 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#11 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#12 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#13 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#14 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#15 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#16 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#17 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#18 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#19 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#20 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#21 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#22 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#23 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#24 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#25 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#26 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#27 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#28 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#29 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
Indirect leak of 4144 byte(s) in 74 object(s) allocated from:
#0 0x7f54501d6532 in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x99532)
#1 0x475e08 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:126
#2 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#3 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#4 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#5 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#6 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#7 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#8 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#9 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#10 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#11 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#12 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#13 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#14 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#15 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#16 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#17 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#18 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#19 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#20 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#21 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#22 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#23 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#24 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#25 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#26 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#27 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#28 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#29 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
Indirect leak of 3920 byte(s) in 49 object(s) allocated from:
#0 0x7f54501d6532 in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x99532)
#1 0x475a3c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#2 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#3 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#4 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#5 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#6 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#7 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#8 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#9 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#10 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#11 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#12 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#13 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#14 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#15 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#16 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#17 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#18 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#19 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#20 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#21 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#22 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#23 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#24 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#25 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#26 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#27 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#28 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#29 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
Indirect leak of 2976 byte(s) in 124 object(s) allocated from:
#0 0x7f54501d6532 in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x99532)
#1 0x512736 in AP4_List<AP4_Descriptor>::Add(AP4_Descriptor*) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4List.h:160
#2 0x52ec8d in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:101
#3 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#4 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#5 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#6 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#7 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#8 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#9 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#10 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#11 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#12 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#13 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#14 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#15 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#16 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#17 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#18 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#19 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#20 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#21 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#22 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#23 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#24 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#25 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#26 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#27 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#28 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#29 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
Indirect leak of 1920 byte(s) in 24 object(s) allocated from:
#0 0x7f54501d6532 in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x99532)
#1 0x475a3c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#2 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#3 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#4 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#5 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#6 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#7 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#8 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#9 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#10 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#11 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#12 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#13 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#14 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#15 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#16 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#17 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#18 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#19 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#20 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#21 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#22 0x510ea7 in AP4_EsDescriptor::AP4_EsDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsDescriptor.cpp:105
#23 0x475bf3 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:101
#24 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#25 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#26 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#27 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#28 0x469de5 in AP4_EsdsAtom::AP4_EsdsAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:76
#29 0x469b27 in AP4_EsdsAtom::Create(unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:52
Indirect leak of 1920 byte(s) in 24 object(s) allocated from:
#0 0x7f54501d6532 in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x99532)
#1 0x475a3c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#2 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#3 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#4 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#5 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#6 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#7 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#8 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#9 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#10 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#11 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#12 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#13 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#14 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#15 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#16 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#17 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#18 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#19 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#20 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#21 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#22 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#23 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#24 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#25 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#26 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#27 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#28 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#29 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
Indirect leak of 1920 byte(s) in 24 object(s) allocated from:
#0 0x7f54501d6532 in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x99532)
#1 0x475a3c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#2 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#3 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#4 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#5 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#6 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#7 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#8 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#9 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#10 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#11 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#12 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#13 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#14 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#15 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#16 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#17 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#18 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#19 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#20 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#21 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#22 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#23 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#24 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#25 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#26 0x469de5 in AP4_EsdsAtom::AP4_EsdsAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:76
#27 0x469b27 in AP4_EsdsAtom::Create(unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:52
#28 0x50b5e1 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:472
#29 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
Indirect leak of 1920 byte(s) in 24 object(s) allocated from:
#0 0x7f54501d6532 in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x99532)
#1 0x475a3c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#2 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#3 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#4 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#5 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#6 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#7 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#8 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#9 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#10 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#11 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#12 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#13 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#14 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#15 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#16 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#17 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#18 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#19 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#20 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#21 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#22 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#23 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#24 0x469de5 in AP4_EsdsAtom::AP4_EsdsAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:76
#25 0x469b27 in AP4_EsdsAtom::Create(unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:52
#26 0x50b5e1 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:472
#27 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#28 0x4abc97 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:194
#29 0x46b947 in AP4_SampleEntry::Read(AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:115
......................................................................................................
Indirect leak of 5 byte(s) in 5 object(s) allocated from:
#0 0x7f54501d66b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x4c5260 in AP4_DataBuffer::ReallocateBuffer(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:210
#2 0x4c4f6b in AP4_DataBuffer::SetDataSize(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:151
#3 0x47276a in AP4_UnknownDescriptor::AP4_UnknownDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4Descriptor.cpp:65
#4 0x475e38 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:126
#5 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#6 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#7 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#8 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#9 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#10 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#11 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#12 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#13 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#14 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#15 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#16 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#17 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#18 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#19 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#20 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#21 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#22 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#23 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#24 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#25 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#26 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#27 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#28 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#29 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
Indirect leak of 5 byte(s) in 5 object(s) allocated from:
#0 0x7f54501d66b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x4c5260 in AP4_DataBuffer::ReallocateBuffer(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:210
#2 0x4c4f6b in AP4_DataBuffer::SetDataSize(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:151
#3 0x47276a in AP4_UnknownDescriptor::AP4_UnknownDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4Descriptor.cpp:65
#4 0x475e38 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:126
#5 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#6 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#7 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#8 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#9 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#10 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#11 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#12 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#13 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#14 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#15 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#16 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#17 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#18 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#19 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#20 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#21 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#22 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#23 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#24 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#25 0x510ea7 in AP4_EsDescriptor::AP4_EsDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsDescriptor.cpp:105
#26 0x475bf3 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:101
#27 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#28 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#29 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
Indirect leak of 5 byte(s) in 5 object(s) allocated from:
#0 0x7f54501d66b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x4c5260 in AP4_DataBuffer::ReallocateBuffer(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:210
#2 0x4c4f6b in AP4_DataBuffer::SetDataSize(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:151
#3 0x47276a in AP4_UnknownDescriptor::AP4_UnknownDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4Descriptor.cpp:65
#4 0x475e38 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:126
#5 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#6 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#7 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#8 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#9 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#10 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#11 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#12 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#13 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#14 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#15 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#16 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#17 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#18 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#19 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#20 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#21 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#22 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#23 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#24 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#25 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#26 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#27 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#28 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#29 0x469de5 in AP4_EsdsAtom::AP4_EsdsAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:76
Indirect leak of 4 byte(s) in 4 object(s) allocated from:
#0 0x7f54501d66b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x4c5260 in AP4_DataBuffer::ReallocateBuffer(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:210
#2 0x4c4f6b in AP4_DataBuffer::SetDataSize(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:151
#3 0x47276a in AP4_UnknownDescriptor::AP4_UnknownDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4Descriptor.cpp:65
#4 0x475e38 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:126
#5 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#6 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#7 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#8 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#9 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#10 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#11 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#12 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#13 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#14 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#15 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#16 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#17 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#18 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#19 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#20 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#21 0x469de5 in AP4_EsdsAtom::AP4_EsdsAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:76
#22 0x469b27 in AP4_EsdsAtom::Create(unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:52
#23 0x50b5e1 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:472
#24 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#25 0x4abc97 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:194
#26 0x46b947 in AP4_SampleEntry::Read(AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:115
#27 0x46d1aa in AP4_AudioSampleEntry::AP4_AudioSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:420
#28 0x46e81a in AP4_MpegAudioSampleEntry::AP4_MpegAudioSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:655
#29 0x46eb5d in AP4_Mp4aSampleEntry::AP4_Mp4aSampleEntry(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:702
Indirect leak of 4 byte(s) in 4 object(s) allocated from:
#0 0x7f54501d66b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x4c5260 in AP4_DataBuffer::ReallocateBuffer(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:210
#2 0x4c4f6b in AP4_DataBuffer::SetDataSize(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:151
#3 0x47276a in AP4_UnknownDescriptor::AP4_UnknownDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4Descriptor.cpp:65
#4 0x475e38 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:126
#5 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#6 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#7 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#8 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#9 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#10 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#11 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#12 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#13 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#14 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#15 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#16 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#17 0x510ea7 in AP4_EsDescriptor::AP4_EsDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsDescriptor.cpp:105
#18 0x475bf3 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:101
#19 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#20 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#21 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#22 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#23 0x469de5 in AP4_EsdsAtom::AP4_EsdsAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:76
#24 0x469b27 in AP4_EsdsAtom::Create(unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:52
#25 0x50b5e1 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:472
#26 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#27 0x4abc97 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:194
#28 0x46b947 in AP4_SampleEntry::Read(AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:115
#29 0x46d1aa in AP4_AudioSampleEntry::AP4_AudioSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:420
Indirect leak of 3 byte(s) in 3 object(s) allocated from:
#0 0x7f54501d66b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x4c5260 in AP4_DataBuffer::ReallocateBuffer(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:210
#2 0x4c4f6b in AP4_DataBuffer::SetDataSize(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:151
#3 0x47276a in AP4_UnknownDescriptor::AP4_UnknownDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4Descriptor.cpp:65
#4 0x475e38 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:126
#5 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#6 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#7 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#8 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#9 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#10 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#11 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#12 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#13 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#14 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#15 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#16 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#17 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#18 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#19 0x469de5 in AP4_EsdsAtom::AP4_EsdsAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:76
#20 0x469b27 in AP4_EsdsAtom::Create(unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:52
#21 0x50b5e1 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:472
#22 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#23 0x4abc97 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:194
#24 0x46b947 in AP4_SampleEntry::Read(AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:115
#25 0x46d1aa in AP4_AudioSampleEntry::AP4_AudioSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:420
#26 0x46e81a in AP4_MpegAudioSampleEntry::AP4_MpegAudioSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:655
#27 0x46eb5d in AP4_Mp4aSampleEntry::AP4_Mp4aSampleEntry(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:702
#28 0x50a119 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:272
#29 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
Indirect leak of 3 byte(s) in 3 object(s) allocated from:
#0 0x7f54501d66b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x4c5260 in AP4_DataBuffer::ReallocateBuffer(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:210
#2 0x4c4f6b in AP4_DataBuffer::SetDataSize(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:151
#3 0x47276a in AP4_UnknownDescriptor::AP4_UnknownDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4Descriptor.cpp:65
#4 0x475e38 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:126
#5 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#6 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#7 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#8 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#9 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#10 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#11 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#12 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#13 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#14 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#15 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#16 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#17 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#18 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#19 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#20 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#21 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#22 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#23 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#24 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#25 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#26 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#27 0x469de5 in AP4_EsdsAtom::AP4_EsdsAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:76
#28 0x469b27 in AP4_EsdsAtom::Create(unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:52
#29 0x50b5e1 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:472
Indirect leak of 3 byte(s) in 3 object(s) allocated from:
#0 0x7f54501d66b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x4c5260 in AP4_DataBuffer::ReallocateBuffer(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:210
#2 0x4c4f6b in AP4_DataBuffer::SetDataSize(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:151
#3 0x47276a in AP4_UnknownDescriptor::AP4_UnknownDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4Descriptor.cpp:65
#4 0x475e38 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:126
#5 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#6 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#7 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#8 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#9 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#10 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#11 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#12 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#13 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#14 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#15 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#16 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#17 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#18 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#19 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#20 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#21 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#22 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#23 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#24 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#25 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#26 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#27 0x510ea7 in AP4_EsDescriptor::AP4_EsDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsDescriptor.cpp:105
#28 0x475bf3 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:101
#29 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
Indirect leak of 3 byte(s) in 3 object(s) allocated from:
#0 0x7f54501d66b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x4c5260 in AP4_DataBuffer::ReallocateBuffer(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:210
#2 0x4c4f6b in AP4_DataBuffer::SetDataSize(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:151
#3 0x47276a in AP4_UnknownDescriptor::AP4_UnknownDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4Descriptor.cpp:65
#4 0x475e38 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:126
#5 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#6 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#7 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#8 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#9 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#10 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#11 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#12 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#13 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#14 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#15 0x510ea7 in AP4_EsDescriptor::AP4_EsDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsDescriptor.cpp:105
#16 0x475bf3 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:101
#17 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#18 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#19 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#20 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#21 0x469de5 in AP4_EsdsAtom::AP4_EsdsAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:76
#22 0x469b27 in AP4_EsdsAtom::Create(unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:52
#23 0x50b5e1 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:472
#24 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#25 0x4abc97 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:194
#26 0x46b947 in AP4_SampleEntry::Read(AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:115
#27 0x46d1aa in AP4_AudioSampleEntry::AP4_AudioSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:420
#28 0x46e81a in AP4_MpegAudioSampleEntry::AP4_MpegAudioSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:655
#29 0x46eb5d in AP4_Mp4aSampleEntry::AP4_Mp4aSampleEntry(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:702
Indirect leak of 3 byte(s) in 3 object(s) allocated from:
#0 0x7f54501d66b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x4c5260 in AP4_DataBuffer::ReallocateBuffer(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:210
#2 0x4c4f6b in AP4_DataBuffer::SetDataSize(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:151
#3 0x47276a in AP4_UnknownDescriptor::AP4_UnknownDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4Descriptor.cpp:65
#4 0x475e38 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:126
#5 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#6 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#7 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#8 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#9 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#10 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#11 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#12 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#13 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#14 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#15 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#16 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#17 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#18 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#19 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#20 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#21 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#22 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#23 0x510ea7 in AP4_EsDescriptor::AP4_EsDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsDescriptor.cpp:105
#24 0x475bf3 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:101
#25 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#26 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#27 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#28 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#29 0x469de5 in AP4_EsdsAtom::AP4_EsdsAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:76
Indirect leak of 2 byte(s) in 2 object(s) allocated from:
#0 0x7f54501d66b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x4c5260 in AP4_DataBuffer::ReallocateBuffer(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:210
#2 0x4c4f6b in AP4_DataBuffer::SetDataSize(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:151
#3 0x47276a in AP4_UnknownDescriptor::AP4_UnknownDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4Descriptor.cpp:65
#4 0x475e38 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:126
#5 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#6 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#7 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#8 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#9 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#10 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#11 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#12 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#13 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#14 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#15 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#16 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#17 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#18 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#19 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#20 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#21 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#22 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#23 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#24 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#25 0x469de5 in AP4_EsdsAtom::AP4_EsdsAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:76
#26 0x469b27 in AP4_EsdsAtom::Create(unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:52
#27 0x50b5e1 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:472
#28 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#29 0x4abc97 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:194
Indirect leak of 2 byte(s) in 2 object(s) allocated from:
#0 0x7f54501d66b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x4c5260 in AP4_DataBuffer::ReallocateBuffer(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:210
#2 0x4c4f6b in AP4_DataBuffer::SetDataSize(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:151
#3 0x47276a in AP4_UnknownDescriptor::AP4_UnknownDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4Descriptor.cpp:65
#4 0x475e38 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:126
#5 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#6 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#7 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#8 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#9 0x510ea7 in AP4_EsDescriptor::AP4_EsDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsDescriptor.cpp:105
#10 0x475bf3 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:101
#11 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#12 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#13 0x469de5 in AP4_EsdsAtom::AP4_EsdsAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:76
#14 0x469b27 in AP4_EsdsAtom::Create(unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:52
#15 0x50b5e1 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:472
#16 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#17 0x4abc97 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:194
#18 0x46b947 in AP4_SampleEntry::Read(AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:115
#19 0x46d1aa in AP4_AudioSampleEntry::AP4_AudioSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:420
#20 0x46e81a in AP4_MpegAudioSampleEntry::AP4_MpegAudioSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:655
#21 0x46eb5d in AP4_Mp4aSampleEntry::AP4_Mp4aSampleEntry(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:702
#22 0x50a119 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:272
#23 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#24 0x4c5ac4 in AP4_StsdAtom::AP4_StsdAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4StsdAtom.cpp:101
#25 0x4c5522 in AP4_StsdAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4StsdAtom.cpp:57
#26 0x50b221 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:422
#27 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#28 0x4abc97 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:194
#29 0x4ab74c in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:139
Indirect leak of 2 byte(s) in 2 object(s) allocated from:
#0 0x7f54501d66b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x4c5260 in AP4_DataBuffer::ReallocateBuffer(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:210
#2 0x4c4f6b in AP4_DataBuffer::SetDataSize(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:151
#3 0x47276a in AP4_UnknownDescriptor::AP4_UnknownDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4Descriptor.cpp:65
#4 0x475e38 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:126
#5 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#6 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#7 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#8 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#9 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#10 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#11 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#12 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#13 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#14 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#15 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#16 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#17 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#18 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#19 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#20 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#21 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#22 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#23 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#24 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#25 0x510ea7 in AP4_EsDescriptor::AP4_EsDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsDescriptor.cpp:105
#26 0x475bf3 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:101
#27 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#28 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#29 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
Indirect leak of 2 byte(s) in 2 object(s) allocated from:
#0 0x7f54501d66b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x4c5260 in AP4_DataBuffer::ReallocateBuffer(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:210
#2 0x4c4f6b in AP4_DataBuffer::SetDataSize(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:151
#3 0x47276a in AP4_UnknownDescriptor::AP4_UnknownDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4Descriptor.cpp:65
#4 0x475e38 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:126
#5 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#6 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#7 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#8 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#9 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#10 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#11 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#12 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#13 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#14 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#15 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#16 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#17 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#18 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#19 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#20 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#21 0x510ea7 in AP4_EsDescriptor::AP4_EsDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsDescriptor.cpp:105
#22 0x475bf3 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:101
#23 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#24 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#25 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#26 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#27 0x469de5 in AP4_EsdsAtom::AP4_EsdsAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:76
#28 0x469b27 in AP4_EsdsAtom::Create(unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:52
#29 0x50b5e1 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:472
Indirect leak of 2 byte(s) in 2 object(s) allocated from:
#0 0x7f54501d66b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x4c5260 in AP4_DataBuffer::ReallocateBuffer(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:210
#2 0x4c4f6b in AP4_DataBuffer::SetDataSize(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:151
#3 0x47276a in AP4_UnknownDescriptor::AP4_UnknownDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4Descriptor.cpp:65
#4 0x475e38 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:126
#5 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#6 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#7 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#8 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#9 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#10 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#11 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#12 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#13 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#14 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#15 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#16 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#17 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#18 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#19 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#20 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#21 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#22 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#23 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#24 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#25 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#26 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#27 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#28 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#29 0x469de5 in AP4_EsdsAtom::AP4_EsdsAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:76
Indirect leak of 2 byte(s) in 2 object(s) allocated from:
#0 0x7f54501d66b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x4c5260 in AP4_DataBuffer::ReallocateBuffer(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:210
#2 0x4c4f6b in AP4_DataBuffer::SetDataSize(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:151
#3 0x47276a in AP4_UnknownDescriptor::AP4_UnknownDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4Descriptor.cpp:65
#4 0x475e38 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:126
#5 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#6 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#7 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#8 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#9 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#10 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#11 0x510ea7 in AP4_EsDescriptor::AP4_EsDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsDescriptor.cpp:105
#12 0x475bf3 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:101
#13 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#14 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#15 0x469de5 in AP4_EsdsAtom::AP4_EsdsAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:76
#16 0x469b27 in AP4_EsdsAtom::Create(unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:52
#17 0x50b5e1 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:472
#18 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#19 0x4abc97 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:194
#20 0x46b947 in AP4_SampleEntry::Read(AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:115
#21 0x46d1aa in AP4_AudioSampleEntry::AP4_AudioSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:420
#22 0x46e81a in AP4_MpegAudioSampleEntry::AP4_MpegAudioSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:655
#23 0x46eb5d in AP4_Mp4aSampleEntry::AP4_Mp4aSampleEntry(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:702
#24 0x50a119 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:272
#25 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#26 0x4c5ac4 in AP4_StsdAtom::AP4_StsdAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4StsdAtom.cpp:101
#27 0x4c5522 in AP4_StsdAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4StsdAtom.cpp:57
#28 0x50b221 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:422
#29 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
Indirect leak of 1 byte(s) in 1 object(s) allocated from:
#0 0x7f54501d66b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x4c5260 in AP4_DataBuffer::ReallocateBuffer(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:210
#2 0x4c4f6b in AP4_DataBuffer::SetDataSize(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:151
#3 0x47276a in AP4_UnknownDescriptor::AP4_UnknownDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4Descriptor.cpp:65
#4 0x475e38 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:126
#5 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#6 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#7 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#8 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#9 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#10 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#11 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#12 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#13 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#14 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#15 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#16 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#17 0x469de5 in AP4_EsdsAtom::AP4_EsdsAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:76
#18 0x469b27 in AP4_EsdsAtom::Create(unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:52
#19 0x50b5e1 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:472
#20 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#21 0x4abc97 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:194
#22 0x46b947 in AP4_SampleEntry::Read(AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:115
#23 0x46d1aa in AP4_AudioSampleEntry::AP4_AudioSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:420
#24 0x46e81a in AP4_MpegAudioSampleEntry::AP4_MpegAudioSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:655
#25 0x46eb5d in AP4_Mp4aSampleEntry::AP4_Mp4aSampleEntry(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:702
#26 0x50a119 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:272
#27 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#28 0x4c5ac4 in AP4_StsdAtom::AP4_StsdAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4StsdAtom.cpp:101
#29 0x4c5522 in AP4_StsdAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4StsdAtom.cpp:57
Indirect leak of 1 byte(s) in 1 object(s) allocated from:
#0 0x7f54501d66b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x4c5260 in AP4_DataBuffer::ReallocateBuffer(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:210
#2 0x4c4f6b in AP4_DataBuffer::SetDataSize(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:151
#3 0x47276a in AP4_UnknownDescriptor::AP4_UnknownDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4Descriptor.cpp:65
#4 0x475e38 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:126
#5 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#6 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#7 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#8 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#9 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#10 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#11 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#12 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#13 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#14 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#15 0x510ea7 in AP4_EsDescriptor::AP4_EsDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsDescriptor.cpp:105
#16 0x475bf3 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:101
#17 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#18 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#19 0x469de5 in AP4_EsdsAtom::AP4_EsdsAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:76
#20 0x469b27 in AP4_EsdsAtom::Create(unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:52
#21 0x50b5e1 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:472
#22 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#23 0x4abc97 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:194
#24 0x46b947 in AP4_SampleEntry::Read(AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:115
#25 0x46d1aa in AP4_AudioSampleEntry::AP4_AudioSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:420
#26 0x46e81a in AP4_MpegAudioSampleEntry::AP4_MpegAudioSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:655
#27 0x46eb5d in AP4_Mp4aSampleEntry::AP4_Mp4aSampleEntry(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:702
#28 0x50a119 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:272
#29 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
Indirect leak of 1 byte(s) in 1 object(s) allocated from:
#0 0x7f54501d66b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x4c5260 in AP4_DataBuffer::ReallocateBuffer(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:210
#2 0x4c4f6b in AP4_DataBuffer::SetDataSize(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:151
#3 0x47276a in AP4_UnknownDescriptor::AP4_UnknownDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4Descriptor.cpp:65
#4 0x475e38 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:126
#5 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#6 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#7 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#8 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#9 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#10 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#11 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#12 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#13 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#14 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#15 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#16 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#17 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#18 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#19 0x510ea7 in AP4_EsDescriptor::AP4_EsDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsDescriptor.cpp:105
#20 0x475bf3 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:101
#21 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#22 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#23 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#24 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#25 0x469de5 in AP4_EsdsAtom::AP4_EsdsAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:76
#26 0x469b27 in AP4_EsdsAtom::Create(unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:52
#27 0x50b5e1 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:472
#28 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#29 0x4abc97 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:194
Indirect leak of 1 byte(s) in 1 object(s) allocated from:
#0 0x7f54501d66b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x4c5260 in AP4_DataBuffer::ReallocateBuffer(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:210
#2 0x4c4f6b in AP4_DataBuffer::SetDataSize(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:151
#3 0x47276a in AP4_UnknownDescriptor::AP4_UnknownDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4Descriptor.cpp:65
#4 0x475e38 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:126
#5 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#6 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#7 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#8 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#9 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#10 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#11 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#12 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#13 0x510ea7 in AP4_EsDescriptor::AP4_EsDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsDescriptor.cpp:105
#14 0x475bf3 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:101
#15 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#16 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#17 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#18 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#19 0x469de5 in AP4_EsdsAtom::AP4_EsdsAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:76
#20 0x469b27 in AP4_EsdsAtom::Create(unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:52
#21 0x50b5e1 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:472
#22 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#23 0x4abc97 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:194
#24 0x46b947 in AP4_SampleEntry::Read(AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:115
#25 0x46d1aa in AP4_AudioSampleEntry::AP4_AudioSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:420
#26 0x46e81a in AP4_MpegAudioSampleEntry::AP4_MpegAudioSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:655
#27 0x46eb5d in AP4_Mp4aSampleEntry::AP4_Mp4aSampleEntry(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:702
#28 0x50a119 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:272
#29 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
Indirect leak of 1 byte(s) in 1 object(s) allocated from:
#0 0x7f54501d66b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x4c5260 in AP4_DataBuffer::ReallocateBuffer(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:210
#2 0x4c4f6b in AP4_DataBuffer::SetDataSize(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:151
#3 0x47276a in AP4_UnknownDescriptor::AP4_UnknownDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4Descriptor.cpp:65
#4 0x475e38 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:126
#5 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#6 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#7 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#8 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#9 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#10 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#11 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#12 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#13 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#14 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#15 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#16 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#17 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#18 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#19 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#20 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#21 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#22 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#23 0x469de5 in AP4_EsdsAtom::AP4_EsdsAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:76
#24 0x469b27 in AP4_EsdsAtom::Create(unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:52
#25 0x50b5e1 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:472
#26 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#27 0x4abc97 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:194
#28 0x46b947 in AP4_SampleEntry::Read(AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:115
#29 0x46d1aa in AP4_AudioSampleEntry::AP4_AudioSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:420
Indirect leak of 1 byte(s) in 1 object(s) allocated from:
#0 0x7f54501d66b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x4c5260 in AP4_DataBuffer::ReallocateBuffer(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:210
#2 0x4c4f6b in AP4_DataBuffer::SetDataSize(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:151
#3 0x47276a in AP4_UnknownDescriptor::AP4_UnknownDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4Descriptor.cpp:65
#4 0x475e38 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:126
#5 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#6 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#7 0x510ea7 in AP4_EsDescriptor::AP4_EsDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsDescriptor.cpp:105
#8 0x475bf3 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:101
#9 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#10 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#11 0x469de5 in AP4_EsdsAtom::AP4_EsdsAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:76
#12 0x469b27 in AP4_EsdsAtom::Create(unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:52
#13 0x50b5e1 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:472
#14 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#15 0x4abc97 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:194
#16 0x46b947 in AP4_SampleEntry::Read(AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:115
#17 0x46d1aa in AP4_AudioSampleEntry::AP4_AudioSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:420
#18 0x46e81a in AP4_MpegAudioSampleEntry::AP4_MpegAudioSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:655
#19 0x46eb5d in AP4_Mp4aSampleEntry::AP4_Mp4aSampleEntry(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4SampleEntry.cpp:702
#20 0x50a119 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:272
#21 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#22 0x4c5ac4 in AP4_StsdAtom::AP4_StsdAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4StsdAtom.cpp:101
#23 0x4c5522 in AP4_StsdAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4StsdAtom.cpp:57
#24 0x50b221 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:422
#25 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#26 0x4abc97 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:194
#27 0x4ab74c in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:139
#28 0x4ab2d9 in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:88
#29 0x50c9ab in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:755
Indirect leak of 1 byte(s) in 1 object(s) allocated from:
#0 0x7f54501d66b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x4c5260 in AP4_DataBuffer::ReallocateBuffer(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:210
#2 0x4c4f6b in AP4_DataBuffer::SetDataSize(unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DataBuffer.cpp:151
#3 0x47276a in AP4_UnknownDescriptor::AP4_UnknownDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4Descriptor.cpp:65
#4 0x475e38 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:126
#5 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#6 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#7 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#8 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#9 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#10 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#11 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#12 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#13 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#14 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#15 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#16 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#17 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#18 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#19 0x52ec66 in AP4_ObjectDescriptor::AP4_ObjectDescriptor(AP4_ByteStream&, unsigned char, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ObjectDescriptor.cpp:98
#20 0x475a6c in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:84
#21 0x510ea7 in AP4_EsDescriptor::AP4_EsDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsDescriptor.cpp:105
#22 0x475bf3 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:101
#23 0x524682 in AP4_DecoderConfigDescriptor::AP4_DecoderConfigDescriptor(AP4_ByteStream&, unsigned int, unsigned int) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DecoderConfigDescriptor.cpp:94
#24 0x475c51 in AP4_DescriptorFactory::CreateDescriptorFromStream(AP4_ByteStream&, AP4_Descriptor*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4DescriptorFactory.cpp:105
#25 0x469de5 in AP4_EsdsAtom::AP4_EsdsAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:76
#26 0x469b27 in AP4_EsdsAtom::Create(unsigned int, AP4_ByteStream&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4EsdsAtom.cpp:52
#27 0x50b5e1 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:472
#28 0x509a1e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4AtomFactory.cpp:220
#29 0x4abc97 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/puppet/target/Bento4-SRC-1-5-1-624/Source/C++/Core/Ap4ContainerAtom.cpp:194
SUMMARY: AddressSanitizer: 11542824961 byte(s) leaked in 4835 allocation(s).
```
Found by puppet@zju.edu.cn
Assigned as CVE-2018-17813 | memory leaks at Bento4 1.5.1-624 when running mp42aac | https://api.github.com/repos/axiomatic-systems/Bento4/issues/333/comments | 1 | 2018-12-02T06:48:30Z | 2019-01-04T00:16:23Z | https://github.com/axiomatic-systems/Bento4/issues/333 | 386,533,058 | 333 |
[
"axiomatic-systems",
"Bento4"
] | Hi,I'm new to dash technology. I tried to convert video to dash file and its working but my problem is
i want to create multiple AdaptationSet in mpd file (eg. 480,720,1080) with original single input video file.
How can i achieve that?
my current mpd files contents
<AdaptationSet maxHeight="1080" maxWidth="1920" mimeType="video/mp4" minHeight="1080" minWidth="1920" segmentAlignment="true" startWithSAP="1">
<SegmentTemplate duration="35000" initialization="$RepresentationID$/init.mp4" media="$RepresentationID$/seg-$Number$.m4s" startNumber="1" timescale="1000"/>
<Representation bandwidth="17183449" codecs="avc1.640029" frameRate="500850/16711" height="1080" id="video/avc1" scanType="progressive" width="1920"/>
</AdaptationSet>
| How to create multiple adaptationset from single file? | https://api.github.com/repos/axiomatic-systems/Bento4/issues/332/comments | 2 | 2018-11-29T10:14:49Z | 2018-12-02T11:05:42Z | https://github.com/axiomatic-systems/Bento4/issues/332 | 385,661,637 | 332 |
[
"axiomatic-systems",
"Bento4"
] | Now mp4tag show only 3GPP Localized String 4CC types, for 3GPP Other 4CC types dont show any tags.
mp4dump don't show value for 3GPP Other 4CC types.
************
udta] size=8+224
[loci] size=8+54
[perf] size=12+17
language = eng
value = test
[yrrc] size=8+6
[albm] size=8+18
[clsf] size=12+19
language = sro
value = NE
[kywd] size=8+26
[coll] size=12+16
language = eng
value = test.
**********
| mp4dump, mp4tag and some 3gpp tags | https://api.github.com/repos/axiomatic-systems/Bento4/issues/330/comments | 4 | 2018-11-19T08:47:57Z | 2018-12-04T18:46:13Z | https://github.com/axiomatic-systems/Bento4/issues/330 | 382,110,713 | 330 |
[
"axiomatic-systems",
"Bento4"
] | mp4tag --set 3gpp/titl:S:testtitle in.mp4 out.mp4
mp4tag write tag to moov/udta/meta/ilist as ---- (mean name data) instead moov/udta/titl
What is my mistake? | mp4tag and 3gpp namespace | https://api.github.com/repos/axiomatic-systems/Bento4/issues/329/comments | 1 | 2018-11-05T17:22:04Z | 2018-11-17T19:56:48Z | https://github.com/axiomatic-systems/Bento4/issues/329 | 377,501,556 | 329 |
[
"axiomatic-systems",
"Bento4"
] | ISO/IEC 14496-12 2015 introduces version 1 of trun box which allows negative composition time.
This is not supported now by Bento4.
Can you add support for new trun box ? What would be time frame for this activity ?
For convenience, I place new trun box description here.
The description comes from ISO/IEC 14496-12 2015, chapter 8.8.8
"
aligned(8) class TrackRunBox
extends FullBox(‘trun’, version, tr_flags) {
unsigned int(32) sample_count;
// the following are optional fields
signed int(32) data_offset;
unsigned int(32) first_sample_flags;
// all fields in the following array are optional
{
unsigned int(32) sample_duration;
unsigned int(32) sample_size;
unsigned int(32) sample_flags
if (version == 0)
{ unsigned int(32) sample_composition_time_offset; }
else
{ signed int(32) sample_composition_time_offset; }
}[ sample_count ]
}
" | Version 1 of track run box is not supported. | https://api.github.com/repos/axiomatic-systems/Bento4/issues/328/comments | 1 | 2018-10-17T09:36:11Z | 2018-12-02T08:50:00Z | https://github.com/axiomatic-systems/Bento4/issues/328 | 370,983,385 | 328 |
[
"axiomatic-systems",
"Bento4"
] | since commit 9da0ce5ab794c2221d0f684ad0351fc75b8cabb7 (i.e. current binary download on the project's website), i cannot write quicktime/mov files anymore:
> [felix@within Bento4]$ ~/Downloads/mp4edit --remove moov/udta sample.mov sample_cleaned.mov
> mp4edit: Source/C++/Core/Ap4Atom.cpp:759: virtual AP4_Result AP4_AtomListWriter::Action(AP4_Atom*) const: Assertion `bytes_written <= atom->GetSize()' failed.
> Aborted (core dumped) | mp4edit (regression): mov files can't be written | https://api.github.com/repos/axiomatic-systems/Bento4/issues/327/comments | 1 | 2018-10-16T19:56:01Z | 2019-01-07T00:10:00Z | https://github.com/axiomatic-systems/Bento4/issues/327 | 370,774,053 | 327 |
[
"axiomatic-systems",
"Bento4"
] | 'm4a' is not supported in HLS ?
Here is my command.
`.\mp4hls -f -o .\test_m4a test.m4a`
and then this error is occurred.
`ERROR: Expecting , delimiter: line 4877 column 37 (char 305449)`
And this is the file information by your 'mp4info.exe'
```
File:
major brand: mp42
minor version: 200
compatible brand: mp42
fast start: no
Movie:
duration: 130543 ms
time scale: 90000
fragments: no
Found 1 Tracks
Track 1:
flags: 15 ENABLED IN-MOVIE IN-PREVIEW
id: 1
type: Audio
duration: 130542 ms
language: ```
media:
sample count: 5622
timescale: 44100
duration: 5756928 (media timescale units)
duration: 130543 (ms)
bitrate (computed): 192.001 Kbps
Sample Description 0
Coding: mp4a (MPEG-4 Audio)
Stream Type: Audio
Object Type: MPEG-4 Audio
Max Bitrate: 192002
Avg Bitrate: 192002
Buffer Size: 6144
Codecs String: mp4a.40.2
MPEG-4 Audio Object Type: 2 (AAC Low Complexity)
MPEG-4 Audio Decoder Config:
Sampling Frequency: 44100
Channels: 2
Sample Rate: 44100
Sample Size: 16
Channels: 2
```
| Packaging m4a content with HLS | https://api.github.com/repos/axiomatic-systems/Bento4/issues/326/comments | 2 | 2018-10-16T05:26:21Z | 2020-03-30T07:36:41Z | https://github.com/axiomatic-systems/Bento4/issues/326 | 370,444,588 | 326 |
[
"axiomatic-systems",
"Bento4"
] | There is an arbitrary limit of 64 Gb for size of streams produced by AP4_MemoryByteStream() :
```
// check that we don't exceed the max
if (m_Position+bytes_to_write > (AP4_Position)AP4_MEMORY_BYTE_STREAM_MAX_SIZE) {
return AP4_ERROR_OUT_OF_RANGE;
}
```
This limit is applied even if we provide our own buffer.
The limit could be suppressed or perhaps not checked when we provide our own buffer :
```
// check that we don't exceed the max
if (m_BufferIsLocal) {
if (m_Position+bytes_to_write > (AP4_Position)AP4_MEMORY_BYTE_STREAM_MAX_SIZE) {
return AP4_ERROR_OUT_OF_RANGE;
}
}
```
Regards | Arbitrary limit in AP4_MemoryByteStream() | https://api.github.com/repos/axiomatic-systems/Bento4/issues/323/comments | 1 | 2018-10-08T10:50:53Z | 2018-10-22T01:14:47Z | https://github.com/axiomatic-systems/Bento4/issues/323 | 367,734,428 | 323 |
[
"axiomatic-systems",
"Bento4"
] | Our fuzzer detected several crashes and performance issues (cannot terminate within 10s where the mp4 size is < 6k) when running `mp4compact $FILE /dev/null` (9da0ce5). The pocs and the relevant ASAN/gdb message are available [here](https://github.com/ntu-sec/pocs/tree/master/bento4-9da0ce5/mp4compact). | Multiple issues in mp4compact | https://api.github.com/repos/axiomatic-systems/Bento4/issues/321/comments | 0 | 2018-09-26T15:44:06Z | 2018-09-26T15:44:06Z | https://github.com/axiomatic-systems/Bento4/issues/321 | 364,095,977 | 321 |
[
"axiomatic-systems",
"Bento4"
] | Hi,
AP4_SidxAtom* sidx isn't deleted in AP4_Processor::Process, when sidx_count == 1.
| Memory leak (sidx atom) in AP4_Processor::Process | https://api.github.com/repos/axiomatic-systems/Bento4/issues/320/comments | 1 | 2018-09-13T12:53:10Z | 2018-10-25T08:49:54Z | https://github.com/axiomatic-systems/Bento4/issues/320 | 359,882,521 | 320 |
[
"axiomatic-systems",
"Bento4"
] | Is there a way to get the manifest generator to support VBR content? At least write the real average, or peak in the bandwith=string tag ?
Is there a common practise for this ? | Support for VBR type content in Dash | https://api.github.com/repos/axiomatic-systems/Bento4/issues/319/comments | 0 | 2018-09-10T09:59:05Z | 2018-09-10T09:59:05Z | https://github.com/axiomatic-systems/Bento4/issues/319 | 358,551,530 | 319 |
[
"axiomatic-systems",
"Bento4"
] | mp4tag --show-tags test.m4a
Cover:[GIF] ff d8 ff e0 00 10 4a 46 49 46 00 01 01 01 00 48
shows GIF for JPG.
for track/disc and for several others shows binary strings for example
Disc:[B] 00 00 00 02 00 02 - mp4tag
Disc:[B] 2/2 or 2 of 2 - Human friendly
Is this possible show and write track/disc number in human friendly?
Is this possible write custom tags too moov/udta and moov/trak/udta?
| mp4tag a few comments | https://api.github.com/repos/axiomatic-systems/Bento4/issues/318/comments | 0 | 2018-09-10T07:08:03Z | 2018-09-10T07:08:03Z | https://github.com/axiomatic-systems/Bento4/issues/318 | 358,494,165 | 318 |
[
"axiomatic-systems",
"Bento4"
] | After any action mp4dump/mp4edit etc. Bento4 apps removes handlers types "mhlr" and "dhlr" from hdlr atoms.
for example:
in hdlr atom
orig.mp4
type mhlr
subtype vide
name video
processed.mp4 - after mp4compact or any action with mp4edit
type
subtype vide
name video
Also mp4dump don't show info about mhlr or dhlr
mp4dump test.mp4
[hdlr] size=12+46
handler_type = vide
handler_name = Apple Video Media Handler
but test.mp4 contains mhlr and dhlr in hdlr atom.
| Bento4 apps and handler type | https://api.github.com/repos/axiomatic-systems/Bento4/issues/317/comments | 13 | 2018-09-06T06:54:30Z | 2018-12-02T08:54:42Z | https://github.com/axiomatic-systems/Bento4/issues/317 | 357,519,391 | 317 |
[
"axiomatic-systems",
"Bento4"
] | Given a valid `file.fmp4`: `mp4split --pattern-parameters N --start-number 1 file.fmp4` works properly, while `cat file.fmp4 | mp4split --pattern-parameters N --start-number 1 -stdin` don't.
I've tried using mp4split (version 1-5-1-624) in pipe but it fails recognizing the Moov atom at the beginning (probably because it is in process of being written into the pipe?). | Any support for piping? | https://api.github.com/repos/axiomatic-systems/Bento4/issues/316/comments | 3 | 2018-09-04T08:21:45Z | 2022-10-14T12:46:31Z | https://github.com/axiomatic-systems/Bento4/issues/316 | 356,701,558 | 316 |
[
"axiomatic-systems",
"Bento4"
] | Hi,
I have two files that differ only in resolution and bitrates.
As a result of checking, GOP, key frame, and fps are the same.
So, what else case does this error occur?
`ERROR: video tracks are not aligned ("File 2#1" differs from File 1#1)` | Video tracks are not aligned | https://api.github.com/repos/axiomatic-systems/Bento4/issues/315/comments | 2 | 2018-08-30T07:28:41Z | 2018-08-31T10:34:44Z | https://github.com/axiomatic-systems/Bento4/issues/315 | 355,458,405 | 315 |
[
"axiomatic-systems",
"Bento4"
] | test.mp4 frame rate 25.0
mp42avc test.mp4 test.h264
mp4mux --track test.h264#frame_rate=25.0 test1.mp4
mp42avc test1.mp4 test1.h264
test.h264 and test1.h264 has a different size in bytes.
Tested on different *.mp4 with the same result added and extracted *.h264 is differ.
For mp42aac and mp4mux, there is no such problem | mp42avc mp4mux *.h264 mismatch | https://api.github.com/repos/axiomatic-systems/Bento4/issues/314/comments | 2 | 2018-08-25T18:29:01Z | 2018-08-30T14:41:09Z | https://github.com/axiomatic-systems/Bento4/issues/314 | 354,033,555 | 314 |
[
"axiomatic-systems",
"Bento4"
] | Hello, thanks for making this very easy to use tool! I have tried it with MP4 videos successfully. Does the tool also support other video formats like avi, or webm? | AVI and WEBM video formats | https://api.github.com/repos/axiomatic-systems/Bento4/issues/313/comments | 1 | 2018-08-21T21:22:49Z | 2018-08-30T19:25:46Z | https://github.com/axiomatic-systems/Bento4/issues/313 | 352,715,465 | 313 |
[
"axiomatic-systems",
"Bento4"
] | When trying to package subtitles from a WebVTT file, using mp4dash tool, and in order to get an HLS stream, I'm getting a master playlist which is just pointing to a WebVTT file instead of an m3u8 subtitltes playlist. Therefore, the iOS native player and other HLS test players I've tried are not able to read and show subtitles.
This is the command I'm using:
mp4dash --hls --subtitles [+format=webvtt,+language=ar]testfile.vtt *.mp4
And this is what I get into my master m3u8 playlist:
# Subtitles
#EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",NAME="ar",DEFAULT=NO,AUTOSELECT=YES,FORCED=YES,LANGUAGE="ar",URI="subtitles/ar/testfile.vtt"
The only way I've got it to work is:
- creating an m3u8 subtitles playlist, pointing to the webvtt generated file
- modifying the master playlist #EXT-X-MEDIA:TYPE=SUBTITLES tag, to point to the subtitles playlist instead of the webvtt file
- adding the subtitles group to each of the #EXT-X-STREAM-INF
Do you think this is something that can be added to the code? Otherwise, if I were wrong, how can subtitles be added to the HLS stream, so that the native iOS player is able to fetch them correctly?
Thank you in advance | Subtitles M3u8 playlist not generated for WebVtt file | https://api.github.com/repos/axiomatic-systems/Bento4/issues/311/comments | 6 | 2018-08-20T14:34:56Z | 2022-02-11T03:04:27Z | https://github.com/axiomatic-systems/Bento4/issues/311 | 352,163,515 | 311 |
[
"axiomatic-systems",
"Bento4"
] | Hi,
I have a problem that the output of the mp4fragment is not seekable when I open it using VLC i.e. I can't seek to the middle of the video.
Also, when I import the video in Adobe Premiere Pro and seek to the middle of the video, It takes long time to do so, I assume it decodes frames from the beginning till this frame.
However, when I tried using MP4Box for fragmentation, the generated file was seekable and faster than Bento4.
Would you please help me with this issue. | Mp4fragment output not seekable. | https://api.github.com/repos/axiomatic-systems/Bento4/issues/310/comments | 1 | 2018-08-14T23:21:15Z | 2018-08-30T19:12:19Z | https://github.com/axiomatic-systems/Bento4/issues/310 | 350,630,949 | 310 |
[
"axiomatic-systems",
"Bento4"
] | Hi!
In `LanguageNames` code `ru` has name `русский язык`, which stands for `russian language` what is not quite the same as other language names (for example, code `en` has name `English`). As native speaker i think, `Русский` (which stands for 'Russian') is more accurate name.
https://github.com/axiomatic-systems/Bento4/blob/master/Source/Python/utils/mp4utils.py#L181
| Not accurate Russian language name in LanguageNames | https://api.github.com/repos/axiomatic-systems/Bento4/issues/307/comments | 1 | 2018-08-06T14:44:31Z | 2018-08-30T19:17:26Z | https://github.com/axiomatic-systems/Bento4/issues/307 | 347,954,071 | 307 |
[
"axiomatic-systems",
"Bento4"
] | A SEGV signal occurred when running mp4compact.
```
ASAN:SIGSEGV
=================================================================
==10159==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000028 (pc 0x000000492d54 bp 0x7ffdea267cf0 sp 0x7ffdea267970 T0)
#0 0x492d53 in AP4_Processor::ProcessFragments(AP4_MoovAtom*, AP4_List<AP4_AtomLocator>&, AP4_ContainerAtom*, AP4_SidxAtom*, unsigned long long, AP4_ByteStream&, AP4_ByteStream&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4Processor.cpp:229
#1 0x4a3c22 in AP4_Processor::Process(AP4_ByteStream&, AP4_ByteStream&, AP4_ByteStream*, AP4_Processor::ProgressListener*, AP4_AtomFactory&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4Processor.cpp:711
#2 0x43e1e3 in main /home/swt_fuzz/Bento4/Source/C++/Apps/Mp4Compact/Mp4Compact.cpp:220
#3 0x7f9c8ddf782f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
#4 0x4417e8 in _start (/home/swt_fuzz/Bento4/cmakebuild/mp4compact+0x4417e8)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /home/swt_fuzz/Bento4/Source/C++/Core/Ap4Processor.cpp:229 AP4_Processor::ProcessFragments(AP4_MoovAtom*, AP4_List<AP4_AtomLocator>&, AP4_ContainerAtom*, AP4_SidxAtom*, unsigned long long, AP4_ByteStream&, AP4_ByteStream&)
==10159==ABORTING
```
The testing program is mp4compact.
And the input file has been put at:
https://github.com/fCorleone/fuzz_programs/blob/master/Bento4/test13 | A SEGV signal occurred when running mp4compact. | https://api.github.com/repos/axiomatic-systems/Bento4/issues/305/comments | 2 | 2018-07-23T07:35:12Z | 2019-01-07T00:32:16Z | https://github.com/axiomatic-systems/Bento4/issues/305 | 343,519,916 | 305 |
[
"axiomatic-systems",
"Bento4"
] | A heap-buffer-overflow has occurred when running program mp4info.
```
=================================================================
==10135==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60400000defe at pc 0x0000005dca17 bp 0x7ffe1bd32e50 sp 0x7ffe1bd32e40
READ of size 1 at 0x60400000defe thread T0
#0 0x5dca16 in AP4_AvccAtom::Create(unsigned int, AP4_ByteStream&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4AvccAtom.cpp:88
#1 0x5e5611 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:477
#2 0x5eb917 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:220
#3 0x4c65e8 in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:194
#4 0x6a8d31 in AP4_SampleEntry::Read(AP4_ByteStream&, AP4_AtomFactory&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4SampleEntry.cpp:115
#5 0x6a8d31 in AP4_VisualSampleEntry::AP4_VisualSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4SampleEntry.cpp:742
#6 0x6a8d31 in AP4_AvcSampleEntry::AP4_AvcSampleEntry(unsigned int, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4SampleEntry.cpp:994
#7 0x5e56fc in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:305
#8 0x5eb917 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:220
#9 0x689025 in AP4_StsdAtom::AP4_StsdAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4StsdAtom.cpp:101
#10 0x68af58 in AP4_StsdAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4StsdAtom.cpp:57
#11 0x5e6e6e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:422
#12 0x5eb917 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:220
#13 0x4c48cb in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:194
#14 0x4c48cb in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:139
#15 0x4c547e in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:88
#16 0x5e6d2e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:755
#17 0x5eb917 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:220
#18 0x4c48cb in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:194
#19 0x4c48cb in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:139
#20 0x4c547e in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:88
#21 0x5e6d2e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:755
#22 0x5eb917 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:220
#23 0x4c48cb in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:194
#24 0x4c48cb in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:139
#25 0x4c547e in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:88
#26 0x5e6d2e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:755
#27 0x5eb917 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:220
#28 0x4c48cb in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:194
#29 0x4c48cb in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:139
#30 0x5604e2 in AP4_TrakAtom::AP4_TrakAtom(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4TrakAtom.cpp:165
#31 0x5e6a1b in AP4_TrakAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4TrakAtom.h:58
#32 0x5e6a1b in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:377
#33 0x5eb917 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:220
#34 0x4c48cb in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:194
#35 0x4c48cb in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:139
#36 0x5aa11c in AP4_MoovAtom::AP4_MoovAtom(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4MoovAtom.cpp:80
#37 0x5e732c in AP4_MoovAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4MoovAtom.h:56
#38 0x5e732c in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:357
#39 0x5eaac5 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:220
#40 0x5eaac5 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, AP4_Atom*&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:150
#41 0x541abf in AP4_File::ParseStream(AP4_ByteStream&, AP4_AtomFactory&, bool) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4File.cpp:104
#42 0x541abf in AP4_File::AP4_File(AP4_ByteStream&, bool) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4File.cpp:78
#43 0x43fa16 in main /home/swt_fuzz/Bento4/Source/C++/Apps/Mp4Info/Mp4Info.cpp:1571
#44 0x7f5135bea82f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
#45 0x446508 in _start (/home/swt_fuzz/Bento4/cmakebuild/mp4info+0x446508)
0x60400000defe is located 0 bytes to the right of 46-byte region [0x60400000ded0,0x60400000defe)
allocated by thread T0 here:
#0 0x7f51365c56b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x538a56 in AP4_DataBuffer::AP4_DataBuffer(unsigned int) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4DataBuffer.cpp:55
#2 0x2d (<unknown module>)
SUMMARY: AddressSanitizer: heap-buffer-overflow /home/swt_fuzz/Bento4/Source/C++/Core/Ap4AvccAtom.cpp:88 AP4_AvccAtom::Create(unsigned int, AP4_ByteStream&)
Shadow bytes around the buggy address:
0x0c087fff9b80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c087fff9b90: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c087fff9ba0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c087fff9bb0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c087fff9bc0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
=>0x0c087fff9bd0: fa fa fa fa fa fa fa fa fa fa 00 00 00 00 00[06]
0x0c087fff9be0: fa fa 00 00 00 00 00 00 fa fa fd fd fd fd fd fd
0x0c087fff9bf0: fa fa 00 00 00 00 00 00 fa fa 00 00 00 00 00 00
0x0c087fff9c00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c087fff9c10: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c087fff9c20: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
Addressable: 00
Partially addressable: 01 02 03 04 05 06 07
Heap left redzone: fa
Heap right redzone: fb
Freed heap region: fd
Stack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
Stack partial redzone: f4
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
==10135==ABORTING
```
The testing program is mp4info.
And the input file has been put at:
https://github.com/fCorleone/fuzz_programs/blob/master/Bento4/test12.dms | A heap-buffer-overflow has occurred when running program mp4info. | https://api.github.com/repos/axiomatic-systems/Bento4/issues/304/comments | 0 | 2018-07-23T07:32:04Z | 2018-08-30T19:23:42Z | https://github.com/axiomatic-systems/Bento4/issues/304 | 343,518,960 | 304 |
[
"axiomatic-systems",
"Bento4"
] | A heap-buffer-overflow has occurred when running program mp4info.
```
=================================================================
==10130==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60200000ee14 at pc 0x000000483bfb bp 0x7fff7c327330 sp 0x7fff7c327320
READ of size 1 at 0x60200000ee14 thread T0
#0 0x483bfa in AP4_Mp4AudioDsiParser::ReadBits(unsigned int) /home/swt_fuzz/Bento4/Source/C++/Codecs/Ap4Mp4AudioInfo.cpp:66
#1 0x483bfa in AP4_Mp4AudioDecoderConfig::ParseExtension(AP4_Mp4AudioDsiParser&) /home/swt_fuzz/Bento4/Source/C++/Codecs/Ap4Mp4AudioInfo.cpp:136
#2 0x4847aa in AP4_Mp4AudioDecoderConfig::Parse(unsigned char const*, unsigned int) /home/swt_fuzz/Bento4/Source/C++/Codecs/Ap4Mp4AudioInfo.cpp:314
#3 0x546ba0 in AP4_MpegAudioSampleDescription::GetCodecString(AP4_String&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4SampleDescription.cpp:750
#4 0x447cd1 in ShowMpegAudioSampleDescription /home/swt_fuzz/Bento4/Source/C++/Apps/Mp4Info/Mp4Info.cpp:303
#5 0x4527e6 in ShowSampleDescription_Text /home/swt_fuzz/Bento4/Source/C++/Apps/Mp4Info/Mp4Info.cpp:412
#6 0x456999 in ShowSampleDescription /home/swt_fuzz/Bento4/Source/C++/Apps/Mp4Info/Mp4Info.cpp:783
#7 0x456999 in ShowTrackInfo_Text /home/swt_fuzz/Bento4/Source/C++/Apps/Mp4Info/Mp4Info.cpp:1092
#8 0x457aaf in ShowTrackInfo /home/swt_fuzz/Bento4/Source/C++/Apps/Mp4Info/Mp4Info.cpp:1213
#9 0x457aaf in ShowTracks /home/swt_fuzz/Bento4/Source/C++/Apps/Mp4Info/Mp4Info.cpp:1323
#10 0x44030d in main /home/swt_fuzz/Bento4/Source/C++/Apps/Mp4Info/Mp4Info.cpp:1587
#11 0x7f63d94de82f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
#12 0x446508 in _start (/home/swt_fuzz/Bento4/cmakebuild/mp4info+0x446508)
0x60200000ee14 is located 0 bytes to the right of 4-byte region [0x60200000ee10,0x60200000ee14)
allocated by thread T0 here:
#0 0x7f63d9eb96b2 in operator new[](unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x996b2)
#1 0x538d85 in AP4_DataBuffer::AP4_DataBuffer(void const*, unsigned int) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4DataBuffer.cpp:68
SUMMARY: AddressSanitizer: heap-buffer-overflow /home/swt_fuzz/Bento4/Source/C++/Codecs/Ap4Mp4AudioInfo.cpp:66 AP4_Mp4AudioDsiParser::ReadBits(unsigned int)
Shadow bytes around the buggy address:
0x0c047fff9d70: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9d80: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9d90: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9da0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9db0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
=>0x0c047fff9dc0: fa fa[04]fa fa fa 04 fa fa fa 01 fa fa fa fd fa
0x0c047fff9dd0: fa fa fd fa fa fa 04 fa fa fa fd fd fa fa 00 fa
0x0c047fff9de0: fa fa 04 fa fa fa 00 05 fa fa fd fd fa fa 04 fa
0x0c047fff9df0: fa fa fd fd fa fa 00 00 fa fa 00 00 fa fa 00 00
0x0c047fff9e00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fff9e10: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
Addressable: 00
Partially addressable: 01 02 03 04 05 06 07
Heap left redzone: fa
Heap right redzone: fb
Freed heap region: fd
Stack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
Stack partial redzone: f4
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
==10130==ABORTING
```
he testing program is mp4info.
And the input file has been put at:
https://github.com/fCorleone/fuzz_programs/blob/master/Bento4/test11.dms | A heap-buffer-overflow has occurred when running program mp4info. | https://api.github.com/repos/axiomatic-systems/Bento4/issues/303/comments | 1 | 2018-07-23T07:02:34Z | 2019-01-02T22:54:49Z | https://github.com/axiomatic-systems/Bento4/issues/303 | 343,511,090 | 303 |
[
"axiomatic-systems",
"Bento4"
] | A SEGV signal occurred when running mp4info.
```
ASAN:SIGSEGV
=================================================================
==10114==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7fb441f53886 bp 0x7ffe19a0af70 sp 0x7ffe19a0a700 T0)
#0 0x7fb441f53885 in __asan_memcpy (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x8c885)
#1 0x53a35c in memcpy /usr/include/x86_64-linux-gnu/bits/string3.h:53
#2 0x53a35c in AP4_DataBuffer::SetData(unsigned char const*, unsigned int) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4DataBuffer.cpp:175
#3 0x5da203 in AP4_AvccAtom::AP4_AvccAtom(unsigned int, unsigned char const*) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4AvccAtom.cpp:160
#4 0x5dc90a in AP4_AvccAtom::Create(unsigned int, AP4_ByteStream&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4AvccAtom.cpp:95
#5 0x5e5611 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:477
#6 0x5eb917 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:220
#7 0x4c48cb in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:194
#8 0x4c48cb in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:139
#9 0x4c547e in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:88
#10 0x5e6d2e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:755
#11 0x5eb917 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:220
#12 0x5c128f in AP4_DrefAtom::AP4_DrefAtom(unsigned int, unsigned char, unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4DrefAtom.cpp:84
#13 0x5c1784 in AP4_DrefAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4DrefAtom.cpp:50
#14 0x5e7712 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:533
#15 0x5eb917 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:220
#16 0x4c48cb in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:194
#17 0x4c48cb in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:139
#18 0x4c547e in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:88
#19 0x5e6d2e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:755
#20 0x5eb917 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:220
#21 0x4c48cb in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:194
#22 0x4c48cb in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:139
#23 0x4c547e in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:88
#24 0x5e6d2e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:755
#25 0x5eb917 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:220
#26 0x4c48cb in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:194
#27 0x4c48cb in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:139
#28 0x4c547e in AP4_ContainerAtom::Create(unsigned int, unsigned long long, bool, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:88
#29 0x5e6d2e in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:755
#30 0x5eb917 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:220
#31 0x4c48cb in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:194
#32 0x4c48cb in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:139
#33 0x5604e2 in AP4_TrakAtom::AP4_TrakAtom(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4TrakAtom.cpp:165
#34 0x5e6a1b in AP4_TrakAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4TrakAtom.h:58
#35 0x5e6a1b in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:377
#36 0x5eb917 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:220
#37 0x4c48cb in AP4_ContainerAtom::ReadChildren(AP4_AtomFactory&, AP4_ByteStream&, unsigned long long) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:194
#38 0x4c48cb in AP4_ContainerAtom::AP4_ContainerAtom(unsigned int, unsigned long long, bool, AP4_ByteStream&, AP4_AtomFactory&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4ContainerAtom.cpp:139
#39 0x5aa11c in AP4_MoovAtom::AP4_MoovAtom(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4MoovAtom.cpp:80
#40 0x5e732c in AP4_MoovAtom::Create(unsigned int, AP4_ByteStream&, AP4_AtomFactory&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4MoovAtom.h:56
#41 0x5e732c in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned int, unsigned int, unsigned long long, AP4_Atom*&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:357
#42 0x5eaac5 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, unsigned long long&, AP4_Atom*&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:220
#43 0x5eaac5 in AP4_AtomFactory::CreateAtomFromStream(AP4_ByteStream&, AP4_Atom*&) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4AtomFactory.cpp:150
#44 0x541abf in AP4_File::ParseStream(AP4_ByteStream&, AP4_AtomFactory&, bool) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4File.cpp:104
#45 0x541abf in AP4_File::AP4_File(AP4_ByteStream&, bool) /home/swt_fuzz/Bento4/Source/C++/Core/Ap4File.cpp:78
#46 0x43fa16 in main /home/swt_fuzz/Bento4/Source/C++/Apps/Mp4Info/Mp4Info.cpp:1571
#47 0x7fb44158582f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
#48 0x446508 in _start (/home/swt_fuzz/Bento4/cmakebuild/mp4info+0x446508)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV ??:0 __asan_memcpy
==10114==ABORTING
```
The testing program is mp4info
And the input file has been put at:
https://github.com/fCorleone/fuzz_programs/blob/master/Bento4/test10 | A SEGV signal occurred when running mp4info | https://api.github.com/repos/axiomatic-systems/Bento4/issues/302/comments | 0 | 2018-07-23T06:45:02Z | 2018-08-30T19:23:42Z | https://github.com/axiomatic-systems/Bento4/issues/302 | 343,507,131 | 302 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.