[Bug 757569] New: rtspsrc: avoid potentially overflowing expression
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Nov 4 01:01:45 PST 2015
https://bugzilla.gnome.org/show_bug.cgi?id=757569
Bug ID: 757569
Summary: rtspsrc: avoid potentially overflowing expression
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-good
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: vegas8001 at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 314793
--> https://bugzilla.gnome.org/attachment.cgi?id=314793&action=edit
rtsp: avoid potentially overflowing expression
static void
gst_rtspsrc_get_property (GObject * object, guint prop_id, GValue * value,
GParamSpec * pspec)
{
...
case PROP_TCP_TIMEOUT:
{
guint64 timeout;
timeout = rtspsrc->tcp_timeout.tv_sec * G_USEC_PER_SEC +
rtspsrc->tcp_timeout.tv_usec;
==> rtspsrc->tcp_timeout.tv_sec is glong. need type cast.
--
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