[Bug 748389] New: validate-utils: Passing value -1.0 to sqrt() leads to undefined result

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Apr 23 17:14:23 PDT 2015


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

            Bug ID: 748389
           Summary: validate-utils: Passing value -1.0 to sqrt() leads to
                    undefined result
    Classification: Platform
           Product: GStreamer
           Version: unspecified
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-devtools
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: vineeth.tm at samsung.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

using sqrt of -1 is not valid and leads to undefined results.
 when comparing the return value of the fucntion in validate-scenario,
 it is being checked with ret == -1, so it makes sense to just return -1 in
error case.

-- 
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