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

Null pointer deference in filters/dmx_m2ts.c:1215 #2873

Closed
caoxs999 opened this issue Jun 12, 2024 · 0 comments
Closed

Null pointer deference in filters/dmx_m2ts.c:1215 #2873

caoxs999 opened this issue Jun 12, 2024 · 0 comments

Comments

@caoxs999
Copy link

version

./MP4Box -version                                                                              
MP4Box - GPAC version 2.5-DEV-rev228-g11067ea92-master
(c) 2000-2024 Telecom Paris distributed under LGPL v2.1+ - https://gpac.io

Please cite our work in your research:
        GPAC Filters: https://doi.org/10.1145/3339825.3394929
        GPAC: https://doi.org/10.1145/1291233.1291452

GPAC Configuration: --enable-sanitizer
Features: GPAC_CONFIG_LINUX GPAC_64_BITS GPAC_HAS_IPV6 GPAC_HAS_SSL GPAC_HAS_SOCK_UN GPAC_MINIMAL_ODF GPAC_HAS_QJS GPAC_HAS_LINUX_DVB  GPAC_DISABLE_3D

reproduce

Complie and run

./configure --enable-sanitizer
make
./MP4Box -dash 1000 -out /dev/null poc3

Information

[MPEG-2 TS] PID 1024: Bad Adaptation Extension found
[MPEG-2 TS] PID 1024: Bad Adaptation Extension found
[MPEG-2 TS] TS Packet 3 is scrambled - not supported
[MPEG-2 TS] PID 1863: Bad Adaptation Extension found
[MPEG-2 TS] TS Packet 5 is scrambled - not supported
[MPEG-2 TS] TS Packet 6 is scrambled - not supported
[MPEG-2 TS] TS Packet 7 is scrambled - not supported
[MPEG-2 TS] TS Packet 8 is scrambled - not supported
[MPEG-2 TS] TS Packet 9 is scrambled - not supported
[MPEG-2 TS] TS Packet 10 is scrambled - not supported
[MPEG-2 TS] TS Packet 11 is scrambled - not supported
[MPEG-2 TS] TS Packet 12 is scrambled - not supported
[MPEG-2 TS] TS Packet 13 is scrambled - not supported
[MPEG-2 TS] TS Packet 14 is scrambled - not supported
[MPEG-2 TS] TS Packet 15 is scrambled - not supported
[MPEG-2 TS] TS Packet 16 is scrambled - not supported
[MPEG-2 TS] TS Packet 17 is scrambled - not supported
[MPEG-2 TS] TS Packet 18 is scrambled - not supported
[MPEG-2 TS] TS Packet 19 is scrambled - not supported
[MPEG-2 TS] TS Packet 20 is scrambled - not supported
[MPEG-2 TS] TS Packet 21 is scrambled - not supported
[MPEG-2 TS] TS Packet 22 is scrambled - not supported
[MPEG-2 TS] TS Packet 23 is scrambled - not supported
[MPEG-2 TS] TS Packet 24 does not start with sync marker
[MPEG-2 TS] TS Packet 25 AF size is 71 when it must be 183 for AF type 2
[MPEG-2 TS] TS Packet 26 does not start with sync marker
[MPEG-2 TS] TS Packet 27 does not start with sync marker
[MPEG-2 TS] PID 1863: Bad Adaptation Extension found
[MPEG-2 TS] PID 18 AF Location descriptor found - URL TR▒
[MPEG-2 TS] PID 18: Bad Adaptation Descriptor found (tag 0) size is 0 but only 1 bytes available
[MPEG-2 TS] TS Packet 30 does not start with sync marker
[MPEG-2 TS] TS Packet 31 does not start with sync marker
[MPEG-2 TS] TS Packet 32 does not start with sync marker
[MPEG-2 TS] TS Packet 33 does not start with sync marker
[MPEG-2 TS] TS Packet 34 does not start with sync marker
[MPEG-2 TS] TS Packet 35 does not start with sync marker
[MPEG-2 TS] TS Packet 36 is scrambled - not supported
[MPEG-2 TS] TS Packet 37 is scrambled - not supported
[MPEG-2 TS] TS Packet 38 does not start with sync marker
[MPEG-2 TS] TS Packet 39 does not start with sync marker
[MPEG-2 TS] TS Packet 40 does not start with sync marker
[MPEG-2 TS] TS Packet 41 does not start with sync marker
[MPEG-2 TS] TS Packet 42 does not start with sync marker
[MPEG-2 TS] TS Packet 43 does not start with sync marker
[MPEG-2 TS] TS Packet 44 does not start with sync marker
[MPEG-2 TS] TS Packet 45 does not start with sync marker
[MPEG-2 TS] PID 1024: Bad Adaptation Extension found
[MPEG-2 TS] PID 1024: Bad Adaptation Extension found
[MPEG-2 TS] TS Packet 48 is scrambled - not supported
[MPEG-2 TS] TS Packet 49 is scrambled - not supported
[MPEG-2 TS] TS Packet 50 is scrambled - not supported
[MPEG-2 TS] TS Packet 51 does not start with sync marker
[MPEG-2 TS] TS Packet 52 does not start with sync marker
[MPEG-2 TS] TS Packet 53 does not start with sync marker
[MPEG-2 TS] TS Packet 54 does not start with sync marker
[MPEG-2 TS] TS Packet 55 does not start with sync marker
[MPEG-2 TS] TS Packet 56 does not start with sync marker
[MPEG-2 TS] TS Packet 57 is scrambled - not supported
[MPEG-2 TS] TS Packet 58 does not start with sync marker
[MPEG-2 TS] TS Packet 59 is scrambled - not supported
[MPEG-2 TS] TS Packet 60 is scrambled - not supported
[MPEG-2 TS] TS Packet 61 does not start with sync marker
[MPEG-2 TS] TS Packet 62 does not start with sync marker
[MPEG-2 TS] TS Packet 63 does not start with sync marker
[MPEG-2 TS] TS Packet 64 does not start with sync marker
[MPEG-2 TS] TS Packet 65 does not start with sync marker
[MPEG-2 TS] TS Packet 66 does not start with sync marker
[MPEG-2 TS] TS Packet 67 does not start with sync marker
[MPEG-2 TS] TS Packet 68 does not start with sync marker
[MPEG-2 TS] PID 1863: Bad Adaptation Extension found
[MPEG-2 TS] TS Packet 70 does not start with sync marker
[MPEG-2 TS] TS Packet 71 does not start with sync marker
[MPEG-2 TS] TS Packet 72 does not start with sync marker
[MPEG-2 TS] TS Packet 73 does not start with sync marker
[MPEG-2 TS] TS Packet 74 does not start with sync marker
[MPEG-2 TS] TS Packet 75 does not start with sync marker
[MPEG-2 TS] TS Packet 76 is scrambled - not supported
[MPEG-2 TS] TS Packet 77 is scrambled - not supported
[MPEG-2 TS] TS Packet 78 does not start with sync marker
[MPEG-2 TS] TS Packet 79 does not start with sync marker
[MPEG-2 TS] TS Packet 80 does not start with sync marker
[MPEG-2 TS] TS Packet 81 does not start with sync marker
[MPEG-2 TS] TS Packet 82 does not start with sync marker
[MPEG-2 TS] TS Packet 83 does not start with sync marker
[MPEG-2 TS] TS Packet 84 does not start with sync marker
[MPEG-2 TS] TS Packet 85 is scrambled - not supported
[MPEG-2 TS] TS Packet 86 does not start with sync marker
[MPEG-2 TS] TS Packet 87 does not start with sync marker
[MPEG-2 TS] TS Packet 88 does not start with sync marker
[MPEG-2 TS] TS Packet 89 is scrambled - not supported
[MPEG-2 TS] TS Packet 90 is scrambled - not supported
[MPEG-2 TS] PID 1863: Bad Adaptation Extension found
[MPEG-2 TS] TS Packet 93 is scrambled - not supported
[MPEG-2 TS] TS Packet 94 is scrambled - not supported
[MPEG-2 TS] TS Packet 95 does not start with sync marker
[MPEG-2 TS] TS Packet 96 does not start with sync marker
[MPEG-2 TS] TS Packet 97 does not start with sync marker
[MPEG-2 TS] TS Packet 98 does not start with sync marker
[MPEG-2 TS] TS Packet 99 does not start with sync marker
[MPEG-2 TS] PID 1024: Bad Adaptation Extension found
[MPEG-2 TS] TS Packet 101 does not start with sync marker
[MPEG-2 TS] TS Packet 102 is scrambled - not supported
[MPEG-2 TS] TS Packet 103 is scrambled - not supported
[MPEG-2 TS] TS Packet 104 is scrambled - not supported
[MPEG-2 TS] TS Packet 105 does not start with sync marker
[MPEG-2 TS] TS Packet 106 does not start with sync marker
[MPEG-2 TS] TS Packet 107 does not start with sync marker
[MPEG-2 TS] TS Packet 108 does not start with sync marker
[MPEG-2 TS] TS Packet 109 does not start with sync marker
[MPEG-2 TS] TS Packet 110 is scrambled - not supported
[MPEG-2 TS] TS Packet 112 does not start with sync marker
[MPEG-2 TS] TS Packet 113 does not start with sync marker
[MPEG-2 TS] TS Packet 114 does not start with sync marker
[MPEG-2 TS] TS Packet 116 does not start with sync marker
[MPEG-2 TS] TS Packet 117 does not start with sync marker
[MPEG-2 TS] TS Packet 118 does not start with sync marker
[MPEG-2 TS] TS Packet 119 does not start with sync marker
[MPEG-2 TS] TS Packet 120 does not start with sync marker
[MPEG-2 TS] PID 1024: Bad Adaptation Extension found
[MPEG-2 TS] TS Packet 122 is scrambled - not supported
[MPEG-2 TS] TS Packet 123 is scrambled - not supported
[MPEG-2 TS] TS Packet 124 is scrambled - not supported
[MPEG-2 TS] TS Packet 125 is scrambled - not supported
[MPEG-2 TS] TS Packet 126 is scrambled - not supported
[MPEG-2 TS] TS Packet 127 is scrambled - not supported
[MPEG-2 TS] TS Packet 128 is scrambled - not supported
[MPEG-2 TS] TS Packet 129 is scrambled - not supported
[MPEG-2 TS] TS Packet 130 is scrambled - not supported
[MPEG-2 TS] TS Packet 131 is scrambled - not supported
[MPEG-2 TS] TS Packet 132 is scrambled - not supported
[MPEG-2 TS] TS Packet 133 is scrambled - not supported
[MPEG-2 TS] TS Packet 134 is scrambled - not supported
[MPEG-2 TS] TS Packet 135 is scrambled - not supported
[MPEG-2 TS] TS Packet 136 is scrambled - not supported
[MPEG-2 TS] TS Packet 137 is scrambled - not supported
[MPEG-2 TS] TS Packet 138 is scrambled - not supported
[MPEG-2 TS] TS Packet 139 is scrambled - not supported
[MPEG-2 TS] TS Packet 140 is scrambled - not supported
[MPEG-2 TS] TS Packet 141 is scrambled - not supported
[MPEG-2 TS] PID 1863: Bad Adaptation Extension found
[MPEG-2 TS] TS Packet 143 does not start with sync marker
[MPEG-2 TS] TS Packet 144 does not start with sync marker
[MPEG-2 TS] PID 1863: Bad Adaptation Extension found
[MPEG-2 TS] TS Packet 146 does not start with sync marker
[MPEG-2 TS] TS Packet 147 is scrambled - not supported
[MPEG-2 TS] TS Packet 148 is scrambled - not supported
[MPEG-2 TS] TS Packet 149 does not start with sync marker
[MPEG-2 TS] PID 1024: Bad Adaptation Extension found
[MPEG-2 TS] TS Packet 151 does not start with sync marker
[MPEG-2 TS] TS Packet 152 is scrambled - not supported
[MPEG-2 TS] TS Packet 153 is scrambled - not supported
[MPEG-2 TS] TS Packet 154 is scrambled - not supported
[MPEG-2 TS] TS Packet 155 does not start with sync marker
[MPEG-2 TS] TS Packet 156 does not start with sync marker
[MPEG-2 TS] TS Packet 157 does not start with sync marker
[MPEG-2 TS] TS Packet 158 is scrambled - not supported
[MPEG-2 TS] TS Packet 159 is scrambled - not supported
[MPEG-2 TS] TS Packet 160 is scrambled - not supported
[MPEG-2 TS] TS Packet 161 has error (PID could be 5120)
[MPEG-2 TS] TS Packet 162 does not start with sync marker
[MPEG-2 TS] TS Packet 163 does not start with sync marker
[MPEG-2 TS] TS Packet 164 does not start with sync marker
[MPEG-2 TS] TS Packet 165 does not start with sync marker
[MPEG-2 TS] PID 1863: Bad Adaptation Extension found
[MPEG-2 TS] TS Packet 167 does not start with sync marker
[MPEG-2 TS] TS Packet 168 is scrambled - not supported
[MPEG-2 TS] TS Packet 169 is scrambled - not supported
[MPEG-2 TS] TS Packet 170 does not start with sync marker
[MPEG-2 TS] TS Packet 171 does not start with sync marker
[MPEG-2 TS] TS Packet 172 is scrambled - not supported
[MPEG-2 TS] PID 1024: Bad Adaptation Extension found
[MPEG-2 TS] TS Packet 174 does not start with sync marker
[MPEG-2 TS] TS Packet 175 does not start with sync marker
[MPEG-2 TS] TS Packet 176 does not start with sync marker
[MPEG-2 TS] TS Packet 177 does not start with sync marker
[MPEG-2 TS] TS Packet 178 does not start with sync marker
[MPEG-2 TS] TS Packet 179 does not start with sync marker
[MPEG-2 TS] PID 1863: Bad Adaptation Extension found
[MPEG-2 TS] TS Packet 181 does not start with sync marker
[MPEG-2 TS] TS Packet 182 is scrambled - not supported
[MPEG-2 TS] TS Packet 183 is scrambled - not supported
[MPEG-2 TS] TS Packet 184 is scrambled - not supported
[MPEG-2 TS] TS Packet 185 is scrambled - not supported
[MPEG-2 TS] TS Packet 186 is scrambled - not supported
[MPEG-2 TS] TS Packet 187 is scrambled - not supported
[MPEG-2 TS] TS Packet 189 does not start with sync marker
[MPEG-2 TS] TS Packet 190 does not start with sync marker
[MPEG-2 TS] TS Packet 191 is scrambled - not supported
[MPEG-2 TS] TS Packet 192 is scrambled - not supported
[MPEG-2 TS] TS Packet 193 is scrambled - not supported
[MPEG-2 TS] TS Packet 194 does not start with sync marker
[MPEG-2 TS] TS Packet 195 does not start with sync marker
[MPEG-2 TS] TS Packet 196 does not start with sync marker
[MPEG-2 TS] PID 1024: Bad Adaptation Extension found
[MPEG-2 TS] PID 1024: Bad Adaptation Extension found
[MPEG-2 TS] TS Packet 3 is scrambled - not supported
[MPEG-2 TS] PID 1863: Bad Adaptation Extension found
[MPEG-2 TS] TS Packet 5 is scrambled - not supported
[MPEG-2 TS] TS Packet 6 is scrambled - not supported
[MPEG-2 TS] TS Packet 7 is scrambled - not supported
[MPEG-2 TS] TS Packet 8 is scrambled - not supported
[MPEG-2 TS] TS Packet 9 is scrambled - not supported
[MPEG-2 TS] TS Packet 10 is scrambled - not supported
[MPEG-2 TS] TS Packet 11 is scrambled - not supported
[MPEG-2 TS] TS Packet 12 is scrambled - not supported
[MPEG-2 TS] TS Packet 13 is scrambled - not supported
[MPEG-2 TS] TS Packet 14 is scrambled - not supported
[MPEG-2 TS] TS Packet 15 is scrambled - not supported
[MPEG-2 TS] TS Packet 16 is scrambled - not supported
[MPEG-2 TS] TS Packet 17 is scrambled - not supported
[MPEG-2 TS] TS Packet 18 is scrambled - not supported
[MPEG-2 TS] TS Packet 19 is scrambled - not supported
[MPEG-2 TS] TS Packet 20 is scrambled - not supported
[MPEG-2 TS] TS Packet 21 is scrambled - not supported
[MPEG-2 TS] TS Packet 22 is scrambled - not supported
[MPEG-2 TS] TS Packet 23 is scrambled - not supported
[MPEG-2 TS] TS Packet 24 does not start with sync marker
[MPEG-2 TS] TS Packet 25 AF size is 71 when it must be 183 for AF type 2
[MPEG-2 TS] PID 1863: Bad Adaptation Extension found
[MPEG-2 TS] PID 18 AF Location descriptor found - URL TR▒
[MPEG-2 TS] PID 18: Bad Adaptation Descriptor found (tag 0) size is 0 but only 1 bytes available
filters/dmx_m2ts.c:1215:40: runtime error: member access within null pointer of type 'struct GF_M2TS_ES'

poc

poc.zip

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