Discussion:
[Bug 785991] rtpstats: fix unsigned integer comparisons.
"GStreamer" (GNOME Bugzilla)
2017-08-08 11:15:39 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=785991

--- Comment #1 from Mathieu Duponchelle <***@gmail.com> ---
Created attachment 357184
--> https://bugzilla.gnome.org/attachment.cgi?id=357184&action=edit
rtpstats: fix unsigned integer comparisons.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2017-08-08 11:25:20 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=785991

Mathieu Duponchelle <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.com
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2017-08-08 11:25:25 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=785991

Mathieu Duponchelle <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #357184|0 |1
is obsolete| |

--- Comment #2 from Mathieu Duponchelle <***@gmail.com> ---
Created attachment 357185
--> https://bugzilla.gnome.org/attachment.cgi?id=357185&action=edit
rtpstats: fix unsigned integer comparisons.

Callers of the API (rtpsource, rtpjitterbuffer) pass clock_rate
as a signed integer, and the comparison "<= 0" is used against
it, leading me to think the intention was to have the field
be typed as gint32, not guint32.

This led to situations where we could call scale_int with
a MAX_UINT32 (-1) guint32 as the denom, thus raising an
assertion.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2017-08-08 12:19:35 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=785991

Sebastian Dröge (slomo) <***@coaxion.net> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@coaxion.net
Attachment #357185|none |accepted-commit_now
status| |
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2017-08-11 11:31:02 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=785991

Mathieu Duponchelle <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED

--- Comment #3 from Mathieu Duponchelle <***@gmail.com> ---
Attachment 357185 pushed as 5e48e85 - rtpstats: fix unsigned integer
comparisons.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2017-08-11 11:31:05 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=785991

Mathieu Duponchelle <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #357185|accepted-commit_now |committed
status| |
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2017-08-11 11:31:39 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=785991

Mathieu Duponchelle <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|git master |1.13.1
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2017-08-11 12:04:59 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=785991

--- Comment #4 from Sebastian Dröge (slomo) <***@coaxion.net> ---
Also for 1.12?
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2017-08-11 12:24:27 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=785991

--- Comment #5 from Mathieu Duponchelle <***@gmail.com> ---
Well a commit was actually backported there that prevents the problem from
happening (c9465db1b73432a92f49f59911219aed60a11407), once the conflict was
resolved what this commit did was simply making things a bit more consistent,
so I don't think backporting this is needed
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2017-08-17 10:42:30 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=785991

Sebastian Dröge (slomo) <***@coaxion.net> changed:

What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|1.13.1 |1.12.3
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
Loading...