gstreamer/tests/check
Tim-Philipp Müller 834fd18dfa bytereader: fix peek value when scanning for 00 00 01 with non-0 offset
We would add the offset a second time in _scan_for_start_code()
when we found a result, but it's already been added to the data
pointer at the beginning of _masked_scan_uint32_peek(), so the
peeked value would be wrong if the initial offset was >0, and
we would potentially read memory out-of-bounds.

Add unit test for all of this.

https://bugzilla.gnome.org/show_bug.cgi?id=778365
2017-02-22 11:07:24 +00:00
..
elements check: Fix leak in queue2 test 2016-11-28 14:02:23 +01:00
generic check: Rename states unit test 2015-08-14 11:10:37 +02:00
gst segment: Modifiy inside segment condition 2017-01-31 15:55:12 +01:00
libs bytereader: fix peek value when scanning for 00 00 01 with non-0 offset 2017-02-22 11:07:24 +00:00
pipelines tests: add 2 unit tests for non-flush seek with gstbaseparse 2017-02-08 10:38:33 +00:00
tools tests: refactor tools check a little 2014-10-31 16:10:01 +00:00
.gitignore tests: add check for gst-inspect --exists functionality 2012-09-01 23:02:10 +01:00
Makefile.am tests: rewrite and enable dataurisrc test 2016-11-28 11:19:15 +00:00
meson.build meson: Add several missing features from configure.ac 2016-12-21 23:51:36 +05:30