]> git.sesse.net Git - vlc/commit
mkv: avoid potential NULL memory comparison
authorRémi Denis-Courmont <remi@remlab.net>
Mon, 25 Aug 2014 18:31:15 +0000 (21:31 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Mon, 25 Aug 2014 18:32:24 +0000 (21:32 +0300)
commit9fea6f98baaa7285e3d561547ee7c436b35bbaa7
treeff7f22275efe895e1e58466a5639757f08743f3e
parenta1c81a10276b3839c9832d274ae5def3c53ee203
mkv: avoid potential NULL memory comparison

memcmp(NULL, b, 0) and memcpy(a, NULL, 0) are undefined in ISO C.
modules/demux/mkv/virtual_segment.cpp