GNOME Bugzilla – Bug 757569
rtspsrc: avoid potentially overflowing expression
Last modified: 2016-04-20 13:54:47 UTC
Created attachment 314793 [details] [review] 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.
Created attachment 324526 [details] [review] rtsp: avoid potentially overflowing expression
commit da5c8a954c5d5f86cd650ef87cfbe569c964491b Author: Jihae Yi <jihae.yi@samsung.com> Date: Wed Nov 4 14:51:19 2015 +0900 rtspsrc: avoid potentially overflowing expression https://bugzilla.gnome.org/show_bug.cgi?id=757569