1 | ==29053== Invalid read of size 1 |
---|
2 | ==29053== at 0x404491: find_nal_unit(unsigned char const*, int, int*, int*) (parcat.cpp:142) |
---|
3 | ==29053== by 0x40485D: filter_segment(std::vector<unsigned char, std::allocator<unsigned char> > const&, int, int*, int*) (parcat.cpp:280) |
---|
4 | ==29053== by 0x404F7C: process_segment(char const*, int, int*, int*) (parcat.cpp:410) |
---|
5 | ==29053== by 0x4050E7: main (parcat.cpp:432) |
---|
6 | ==29053== Address 0x5b3570c is 0 bytes after a block of size 402,796 alloc'd |
---|
7 | ==29053== at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) |
---|
8 | ==29053== by 0x406D1D: __gnu_cxx::new_allocator<unsigned char>::allocate(unsigned long, void const*) (new_allocator.h:104) |
---|
9 | ==29053== by 0x40674A: std::allocator_traits<std::allocator<unsigned char> >::allocate(std::allocator<unsigned char>&, unsigned long) (alloc_traits.h:491) |
---|
10 | ==29053== by 0x405D25: std::_Vector_base<unsigned char, std::allocator<unsigned char> >::_M_allocate(unsigned long) (stl_vector.h:170) |
---|
11 | ==29053== by 0x4066A6: std::_Vector_base<unsigned char, std::allocator<unsigned char> >::_M_create_storage(unsigned long) (stl_vector.h:185) |
---|
12 | ==29053== by 0x405BEE: std::_Vector_base<unsigned char, std::allocator<unsigned char> >::_Vector_base(unsigned long, std::allocator<unsigned char> const&) (stl_vector.h:136) |
---|
13 | ==29053== by 0x4056BB: std::vector<unsigned char, std::allocator<unsigned char> >::vector(unsigned long, std::allocator<unsigned char> const&) (stl_vector.h:278) |
---|
14 | ==29053== by 0x404EE4: process_segment(char const*, int, int*, int*) (parcat.cpp:399) |
---|
15 | ==29053== by 0x4050E7: main (parcat.cpp:432) |
---|
16 | ==29053== |
---|