subparse: Skip after the end of a valid closing tag instead of only skipping `<`
authorSebastian Dröge <sebastian@centricular.com>
Tue, 13 Jun 2023 09:58:26 +0000 (12:58 +0300)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 20 Jun 2023 09:23:07 +0000 (09:23 +0000)
commit1d9b360708115d4acc3fd4bf13cde066391ed057
tree95d158f6606110ddae221e99928575c3f0721c31
parent518ecba8f960137715f776dac6c93e4c4e4179d1
subparse: Skip after the end of a valid closing tag instead of only skipping `<`

This is a small optimization and avoids restarting the next parsing
iteration on already accepted data.

On its own it would also fix ZDI-CAN-20968 (see previous commit) but the
previous commit independently is also a valid fix for it.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4898>
subprojects/gst-plugins-base/gst/subparse/gstsubparse.c