After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 711066 - xrandr: Prevent possible overflows handling timestamps
xrandr: Prevent possible overflows handling timestamps
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: xrandr
unspecified
Other All
: Normal normal
: ---
Assigned To: Debarshi Ray
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2013-10-29 11:29 UTC by Bastien Nocera
Modified: 2013-10-30 10:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
xrandr: Prevent possible overflows handling timestamps (5.62 KB, patch)
2013-10-29 11:29 UTC, Bastien Nocera
none Details | Review

Description Bastien Nocera 2013-10-29 11:29:31 UTC
.
Comment 1 Bastien Nocera 2013-10-29 11:29:34 UTC
Created attachment 258432 [details] [review]
xrandr: Prevent possible overflows handling timestamps

The timestamps are gint64 but we cast them down to guint32, which
can cause overflows. Avoid that by passing the timestamps as gint64
all around, even if they are ultimately unused.
Comment 2 Bastien Nocera 2013-10-30 10:59:58 UTC
This was pushed to gnome-3-10 and master.