Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
src/cursor: fix xfc NULL pointer dereference
xfc->width and xfc->height for the XFixes cursor image returned from XFixesGetCursorImage(dpy) are accessed without first checking that xfc is not NULL. This can result in the server sometimes crashing when moving a Google Chrome window. Fixes: 37c9461 ("Broken cursor bugfix for 64 bit systems (#49)") Signed-off-by: Jonathan Liu <net147@gmail.com>
- Loading branch information