diff options
author | Olivier Fourdan <ofourdan@redhat.com> | 2016-05-13 08:58:58 +0200 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2016-06-13 16:06:05 -0400 |
commit | 941aeb3b92e644923bd112eef8023f033a140ee6 (patch) | |
tree | 764db1ebb42155625c33554638d8e33efa3e639c /fix-region | |
parent | 6a6bbc3b756706bdade01434f1ee8d8cbe7dd854 (diff) |
randr: Do not update ConnectionInfo if NULL
RRScreenSizeNotify() will update the connection information block, but
if this occurs during initialization before ConnectionInfo is even
initialized, this will lead to a crash.
Simply check for ConnectionInfo prior to update it to avoid the crash.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=95337
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Diffstat (limited to 'fix-region')
0 files changed, 0 insertions, 0 deletions