GNOME Bugzilla – Bug 755832
interpolationcontrolsource: memory corruption due to wrong assignment
Last modified: 2015-10-02 13:24:36 UTC
The following failure occurs in volume element Running suite(s): volume *** Error in `/home/vineethtm/gst/master/gst-plugins-base/tests/check/elements/.libs/lt-volume': free(): invalid next size (normal): 0x09057910 *** 0%: Checks: 1, Failures: 0, Errors: 1 elements/volume.c:1854:E:general:test_controller_defaults_at_ts0:0: (after this point) Received signal 6 (Aborted) This is happening because of the change in function interpolate_linear_get_value_array() *values++ = NAN; The actual change should have been *values = NAN;
Created attachment 312390 [details] [review] fix wrong assignment
Comment on attachment 312390 [details] [review] fix wrong assignment This was fixed already: commit 9a30399e4f508269d72cc8c1457f94beb363eb09 Author: Stefan Sauer <ensonic@users.sf.net> Date: Thu Oct 1 22:09:58 2015 +0200 interpolationcontrolsource: fix write over the array size The '++' got incidentially added during the refactoring in 2fe3939ce7ea84c45dd922e7f1097dd07f11fc5d.
Well, it would have been nice if Vineeth's patch which is identical had been pushed instead.