diff options
author | Tobias Stoeckmann <tobias@stoeckmann.org> | 2017-03-12 14:21:38 +0100 |
---|---|---|
committer | Olivier Fourdan <ofourdan@redhat.com> | 2017-09-22 18:45:59 +0200 |
commit | df4d01e6aa957ec8eb2814832de2f78ca42ee238 (patch) | |
tree | 371e316a4c3b6aaa8682526c6d7b3cdf2929d70f /composite/compalloc.c | |
parent | e23000d83f8dbab4effd9f344f3d776634a1d56e (diff) |
dmx: Fix null pointer dereference
A null pointer dereference can occur in dmxSync, because TimerForce
does not handle a null pointer.
dmxSyncTimer is set to NULL a few lines above on a certain condition,
which happened on my machine. The explicit NULL check allowed me to
start Xdmx again without a segmentation fault.
Reviewed-by: Adam Jackson <ajax@redhat.com>
(cherry picked from commit 21eda7464d0e13ac6558edaf6531c3d3251e05df)
Diffstat (limited to 'composite/compalloc.c')
0 files changed, 0 insertions, 0 deletions