gstreamer/tests/check/libs
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
..
.gitignore tests: ignore new harness test binary 2015-08-11 11:09:24 +01:00
adapter.c tests: add unit test for gst_adapter_prev_pts_at_offset() 2016-11-11 18:18:23 +00:00
baseparse.c tests: baseparse: make work with CK_FORK=no 2016-04-11 10:44:22 +01:00
basesink.c basesink: Add test for checking that EOS always comes after the state change to PLAYING 2014-05-01 20:11:04 +02:00
basesrc.c basesrc-test: Fix race testing segment update 2015-08-20 07:49:02 -07:00
bitreader-noinline.c tests: add unit test for bitreader, bytereader and bytewriter with no inlining used 2013-12-14 21:20:45 +00:00
bitreader.c Fix FSF address 2012-11-03 20:44:48 +00:00
bytereader-noinline.c tests: add unit test for bitreader, bytereader and bytewriter with no inlining used 2013-12-14 21:20:45 +00:00
bytereader.c bytereader: fix peek value when scanning for 00 00 01 with non-0 offset 2017-02-22 11:07:24 +00:00
bytewriter-noinline.c tests: add unit test for bitreader, bytereader and bytewriter with no inlining used 2013-12-14 21:20:45 +00:00
bytewriter.c Fix FSF address 2012-11-03 20:44:48 +00:00
collectpads.c tests: collectpads: fix for CK_FORK=no 2016-04-10 20:57:55 +01:00
controller.c controllers: add new proxy control binding 2016-11-23 17:15:09 +11:00
flowcombiner.c flowcombiner: add a gst_flow_combiner_clear() method 2014-09-25 15:40:42 +01:00
gstharness.c tests: fix indentation 2016-02-19 14:41:55 +00:00
gstlibscpp.cc tests: Add C++ tests for the other INIT macros we have 2016-04-07 20:29:10 +03:00
gstnetclientclock.c tests: Use gst_clock_wait_for_sync () for net client clock 2016-07-19 23:28:32 +10:00
gstnettimeprovider.c Fix FSF address 2012-11-03 20:44:48 +00:00
gsttestclock.c testclock: add crank method 2016-02-12 17:08:32 +00:00
libsabi.c tests: fix ABI check struct sizes for ARM 2013-01-17 09:27:48 +00:00
queuearray.c tests: add unit test for queuearray expansion from 1 2014-06-07 09:46:42 +01:00
sparsefile.c sparsefile: Initialize memory in unit test to make valgrind happy 2014-06-29 19:16:05 +02:00
struct_arm.h controlpoint: change the padding to be of arch-independent size 2015-09-30 17:31:58 +02:00
struct_hppa.h controlpoint: change the padding to be of arch-independent size 2015-09-30 17:31:58 +02:00
struct_i386.h controlpoint: change the padding to be of arch-independent size 2015-09-30 17:31:58 +02:00
struct_ppc32.h controlpoint: change the padding to be of arch-independent size 2015-09-30 17:31:58 +02:00
struct_ppc64.h controlpoint: change the padding to be of arch-independent size 2015-09-30 17:31:58 +02:00
struct_sparc.h controlpoint: change the padding to be of arch-independent size 2015-09-30 17:31:58 +02:00
struct_x86_64.h controlpoint: change the padding to be of arch-independent size 2015-09-30 17:31:58 +02:00
test_transform.c tests: transform1: make test work with CK_FORK=no 2016-04-11 10:36:44 +01:00
transform1.c tests: transform1: make test work with CK_FORK=no 2016-04-11 10:36:44 +01:00
transform2.c tests: transform1: make test work with CK_FORK=no 2016-04-11 10:36:44 +01:00
typefindhelper.c Fix FSF address 2012-11-03 20:44:48 +00:00