projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd5e14f
)
check: Avoid error: array subscript is above array bounds
author
Edward Hervey
<bilboed@bilboed.com>
Mon, 6 Sep 2010 16:33:51 +0000
(18:33 +0200)
committer
Edward Hervey
<bilboed@bilboed.com>
Mon, 6 Sep 2010 16:37:29 +0000
(18:37 +0200)
Could have come up with something better for my 2000th commit
to GStreamer...
tests/check/gst/gstvalue.c
patch
|
blob
|
history
diff --git
a/tests/check/gst/gstvalue.c
b/tests/check/gst/gstvalue.c
index
e33d4df
..
c53cfa8
100644
(file)
--- a/
tests/check/gst/gstvalue.c
+++ b/
tests/check/gst/gstvalue.c
@@
-2433,7
+2433,7
@@
GST_START_TEST (test_serialize_int64_range)
fail_unless (int64_ranges_size == int64_range_strings_size);
- while (i < (int64_ranges_size * 2)) {
+ while (i
+ 1
< (int64_ranges_size * 2)) {
if ((i + 1) % 2) {
gchar *str;
gchar *str2;