Tim-Philipp Müller
|
270d23c8e0
|
samiparse: micro-optimise entity handling
Avoid relocations and hard-code entity string length
in the struct, since we basically get it for free here.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2685>
|
2022-07-01 17:24:52 +00:00 |
|
Tim-Philipp Müller
|
84a3b0ef87
|
samiparse: fix handling of self-closing tags
We would check the wrong string (rest of line rather than element)
for the / suffix of self-closing tags, which is not only wrong but
also has atrocious performance with certain strings like the garbled
nonsense clusterfuzz feeds us, which might cause discoverer to time
out when processing garbled SAMI files.
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47461
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2685>
|
2022-07-01 17:24:52 +00:00 |
|
Matthew Waters
|
0f9f179bec
|
subparse: don't deref a potentially NULL variable
If the html SAMI data is malformed, then retrieving the attribute name
may fail. We then cannot retrieve the attribute value.
Fixes: https://oss-fuzz.com/testcase-detail/4700130671984640
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2317>
|
2022-04-28 15:35:12 +10:00 |
|
Thibault Saunier
|
2fd28195ca
|
Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir
|
2021-09-24 16:13:26 -03:00 |
|