Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

memory leak #52

Open
Cvjark opened this issue Jul 6, 2022 · 0 comments
Open

memory leak #52

Cvjark opened this issue Jul 6, 2022 · 0 comments

Comments

@Cvjark
Copy link

Cvjark commented Jul 6, 2022

sample file

id8_memory_leak.zip

command to reproduce

./ffjpeg -d [sample file]

execute info

usrc overflow

=================================================================
==16225==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 256 byte(s) in 1 object(s) allocated from:
    #0 0x4ae760 in malloc /home/bupt/Desktop/tools/llvm-12.0.1/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cpp:145
    #1 0x4f8ddf in jfif_decode /home/bupt/Desktop/ffjpeg/src/jfif.c:404:23
    #2 0x4f4495 in main /home/bupt/Desktop/ffjpeg/src/ffjpeg.c:24:9
    #3 0x7f9807bedc86 in __libc_start_main /build/glibc-CVJwZb/glibc-2.27/csu/../csu/libc-start.c:310

Direct leak of 256 byte(s) in 1 object(s) allocated from:
    #0 0x4ae760 in malloc /home/bupt/Desktop/tools/llvm-12.0.1/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cpp:145
    #1 0x4f8cfe in jfif_decode /home/bupt/Desktop/ffjpeg/src/jfif.c:404:23
    #2 0x4f4495 in main /home/bupt/Desktop/ffjpeg/src/ffjpeg.c:24:9
    #3 0x7f9807bedc86 in __libc_start_main /build/glibc-CVJwZb/glibc-2.27/csu/../csu/libc-start.c:310

Direct leak of 1 byte(s) in 1 object(s) allocated from:
    #0 0x4ae760 in malloc /home/bupt/Desktop/tools/llvm-12.0.1/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cpp:145
    #1 0x4f9ea7 in jfif_decode /home/bupt/Desktop/ffjpeg/src/jfif.c:445:21
    #2 0x4f4495 in main /home/bupt/Desktop/ffjpeg/src/ffjpeg.c:24:9
    #3 0x7f9807bedc86 in __libc_start_main /build/glibc-CVJwZb/glibc-2.27/csu/../csu/libc-start.c:310

Direct leak of 1 byte(s) in 1 object(s) allocated from:
    #0 0x4ae760 in malloc /home/bupt/Desktop/tools/llvm-12.0.1/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cpp:145
    #1 0x4f9e6b in jfif_decode /home/bupt/Desktop/ffjpeg/src/jfif.c:444:21
    #2 0x4f4495 in main /home/bupt/Desktop/ffjpeg/src/ffjpeg.c:24:9
    #3 0x7f9807bedc86 in __libc_start_main /build/glibc-CVJwZb/glibc-2.27/csu/../csu/libc-start.c:310

Direct leak of 1 byte(s) in 1 object(s) allocated from:
    #0 0x4ae760 in malloc /home/bupt/Desktop/tools/llvm-12.0.1/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cpp:145
    #1 0x4f9e25 in jfif_decode /home/bupt/Desktop/ffjpeg/src/jfif.c:443:21
    #2 0x4f4495 in main /home/bupt/Desktop/ffjpeg/src/ffjpeg.c:24:9
    #3 0x7f9807bedc86 in __libc_start_main /build/glibc-CVJwZb/glibc-2.27/csu/../csu/libc-start.c:310

SUMMARY: AddressSanitizer: 515 byte(s) leaked in 5 allocation(s).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant