[Bug 759840] New: orcprogram-c: Varnames bounds seem broken

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Dec 24 02:01:53 PST 2015


https://bugzilla.gnome.org/show_bug.cgi?id=759840

            Bug ID: 759840
           Summary: orcprogram-c: Varnames bounds seem broken
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: blocker
          Priority: Normal
         Component: orc
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: slomo at coaxion.net
        QA Contact: gstreamer-bugs at lists.freedesktop.org
                CC: ds at schleef.org, luis at debethencourt.com
     GNOME version: ---

The following commit seems broken as the variables arrays are
ORC_N_COMPILER_VARIABLES but the varnames arrays are smaller. This might break
something.

Of course the old code was also broken probably, or at least misleading. But
this change might introduce regressions because fewer variables are possible.

commit 951091788b8496868bf86b2f853f5214659e782a
Author: Luis de Bethencourt <luisbg at osg.samsung.com>
Date:   Mon Dec 14 13:46:52 2015 +0000

    orcprogram-c: avoid running out of bounds of varnames

    These two for loops use varnames[i], since varname has 48 items avoid
    running out of bounds by running the for loop up to that limit.

    CID 1147004

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list