Skip to content

double free in QV4

There is a regression in 20241028.2036eea0 with rm -rf ~/.{cache,config}/vlc && vlc ~/some.mp4, compared to the state of a few days ago.

/usr/bin/valgrind --tool=memcheck --error-limit=no --log-file=/dev/shm/valgrind.memcheck.vlc.%p.%n.txt --show-leak-kinds=all --leak-check=full --malloc-fill=0xa5 --free-fill=0x5a /usr/bin/vlc ~/some.mp4 reports a number of Invalid read size N

valgrind.memcheck.vlc.10247.1.txt

rm -rf ~/.{cache,config}/vlc && vlc ~/work/Videos/20210919_121425.mp4 
VLC media player 20241028 Otto Chriek (revision 2036eea05e)
[0000555a135e55e0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
free(): double free detected in tcache 2
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information