[mythtv-commits] [MythTV/mythtv] 811dad: Discard transport stream packets with invalid adap...
kmdewaal
noreply at github.com
Sat Jun 25 13:06:50 UTC 2022
Branch: refs/heads/fixes/32
Home: https://github.com/MythTV/mythtv
Commit: 811dad0e91b223bcd3e6f17950e81d296d93fc65
https://github.com/MythTV/mythtv/commit/811dad0e91b223bcd3e6f17950e81d296d93fc65
Author: Klaas de Waal <klaas at kldo.nl>
Date: 2022-06-25 (Sat, 25 Jun 2022)
Changed paths:
M mythtv/libs/libmythtv/mpeg/mpegstreamdata.cpp
Log Message:
-----------
Discard transport stream packets with invalid adaptation field length
See ISO/IEC 13818-1 : 2000 (E). 2.4.3.5 Semantic definition of fields in adaptation field
Invalid adaptation field length can cause array bound violations when processing the
adaptation field content and when array boundary checking for std::array is enabled.
Refs #589
(cherry picked from commit 904b98f74dc3f10745706e68c2b3bf87d9c47d64)
Commit: 4cf469cbbf02eb9343de4b776d3fee6d19b6af5d
https://github.com/MythTV/mythtv/commit/4cf469cbbf02eb9343de4b776d3fee6d19b6af5d
Author: Klaas de Waal <klaas at kldo.nl>
Date: 2022-06-25 (Sat, 25 Jun 2022)
Changed paths:
M mythtv/libs/libmythtv/mpeg/mpegstreamdata.cpp
Log Message:
-----------
Remove superfluous VERBOSE_LEVEL_CHECK macro in adaptation field size check
This check is not needed because LOG is a macro that starts with the VERBOSE_LEVEL_CHECK
macro and there are no computations before LOG is called.
(cherry picked from commit 8db1aef46431d160f97cfb6379bff901184e4e58)
Compare: https://github.com/MythTV/mythtv/compare/b09ce5de48c1...4cf469cbbf02
More information about the mythtv-commits
mailing list