Tim-Philipp Müller
|
1eef7bbc22
|
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/2706>
|
2022-07-02 00:25:05 +01:00 |
|
Matthew Waters
|
105b0772c1
|
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/2325>
|
2022-04-28 13:26:48 +00:00 |
|
Matthew Waters
|
cd577c78f7
|
subparse: don't try to index string with -1
If the len of the string turns out to be 0, str[len - 1] resolved to
str[-1] which is not a good idea.
Fixes: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=46543
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2148>
|
2022-04-10 09:57:08 +01:00 |
|
Tim-Philipp Müller
|
5660743bbf
|
subparse: don't use g_warning() for malformed input
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1009>
|
2021-10-19 00:12:25 +00: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 |
|