[Bug 729333] orc: Add some checks on the number of variables per type

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jun 6 04:40:09 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=729333
  GStreamer | orc | git

Vincent Penquerc'h <vincent.penquerch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |1.3.3

--- Comment #7 from Vincent Penquerc'h <vincent.penquerch at collabora.co.uk> 2014-06-06 11:40:06 UTC ---
commit 988914384acdf30eab22226d79de3541e7e6f02d
Author: Vincent Penquerc'h <vincent.penquerch at collabora.co.uk>
Date:   Thu May 1 15:47:41 2014 +0100

    Add some checks on the number of variables per type

    We want to ensure no more than, say, 8 constants are added
    to a program. Adding more will violate pervasive assumptions
    in the code, and may lead to various buffer overflows. By
    trapping these add creation time, we prevent these issues
    without cluttering the code with range checks. The user is
    assumed non malicious here.

    Add a test to check we can add up to and including the limit
    for a type, but no more.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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