Your message dated Sat, 02 Feb 2019 03:15:27 +0000 with message-id <[email protected]> and subject line Bug#921127: Removed package(s) from unstable has caused the Debian Bug report #903099, regarding libmp4v2-2: Just found a NULL ptr reference which could result in `mp4info` crashes on corrupted MP4 file. to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 903099: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=903099 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: libmp4v2-2 Version: 2.0.0~dfsg0-5+b1 Severity: normal Tags: upstream Dear Maintainer, A corrupted MP4 file could result in NULL pointer reference when `mp4info` parses it. By running `mp4info c1`, the output is as follows: root@debian:~# mp4info c1 mp4info version -r c1: ReadAtom: "c1": invalid atom size, extends outside parent atom - skipping to end of "" "moov" 1837 vs 1816 ReadChildAtoms: "c1": In atom stbl missing child atom stsd ReadAtom: "c1": invalid atom size, extends outside parent atom - skipping to end of "moov" "udta" 1837 vs 1816 ReadAtom: "c1": invalid atom size, extends outside parent atom - skipping to end of "udta" "meta" 1837 vs 1816 ReadAtom: "c1": invalid atom size, extends outside parent atom - skipping to end of "meta" "ilst" 1837 vs 1816 ReadAtom: "c1": atom type da is suspect ReadChildAtoms: "c1": In atom tvsh missing child atom data ReadAtom: "c1": invalid atom size, extends outside parent atom - skipping to end of "ilst" "" 16844570 vs 1816 ReadAtom: "c1": invalid atom size, extends outside parent atom - skipping to end of "" "data" 16844338 vs 1816 Segmentation fault The bug could be mitigated in the following way: --- ../mp4v2-2.0.0/src/mp4file.cpp 2012-05-21 06:11:53.000000000 +0800 +++ src/mp4file.cpp 2018-07-06 15:07:32.787600190 +0800 @@ -3415,6 +3415,9 @@ MP4Atom *pAtom = FindAtom(MakeTrackName(trackId, "mdia.minf.stbl.stsd")); + if(pAtom == NULL) { + return NULL; + } if (pAtom->GetNumberOfChildAtoms() != 1) { log.errorf("%s: \"%s\": track %d has more than 1 child atoms in stsd", __FUNCTION__, GetFilename().c_str(), trackId); --- ../mp4v2-2.0.0/src/mp4info.cpp 2018-07-06 14:47:06.599645300 +0800 +++ src/mp4info.cpp 2018-07-06 14:47:36.111644422 +0800 @@ -315,7 +315,7 @@ media_data_name = MP4GetTrackMediaDataName(mp4File, trackId); // encv 264b - if (strcasecmp(media_data_name, "encv") == 0) { + if (media_data_name != NULL && strcasecmp(media_data_name, "encv") == 0) { if (MP4GetTrackMediaDataOriginalFormat(mp4File, trackId, originalFormat, However it seems that code is no longer maintained by the upstream and nowhere could I file an issue. -- System Information: Debian Release: 9.4 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.9.0-6-amd64 (SMP w/16 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.utf8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.utf8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages libmp4v2-2 depends on: ii libc6 2.24-11+deb9u3 ii libgcc1 1:6.3.0-18+deb9u1 ii libstdc++6 6.3.0-18+deb9u1 libmp4v2-2 recommends no packages. libmp4v2-2 suggests no packages. -- no debconf information
c1
Description: video/mp4
--- End Message ---
--- Begin Message ---Version: 2.0.0~dfsg0-6+rm Dear submitter, as the package mp4v2 has just been removed from the Debian archive unstable we hereby close the associated bug reports. We are sorry that we couldn't deal with your issue properly. For details on the removal, please see https://bugs.debian.org/921127 The version of this package that was in Debian prior to this removal can still be found using http://snapshot.debian.org/. This message was generated automatically; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]. Debian distribution maintenance software pp. Scott Kitterman (the ftpmaster behind the curtain)
--- End Message ---
_______________________________________________ pkg-multimedia-maintainers mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
