Skip to content
  • Michel Dänzer's avatar
    xwayland: Hold a pixmap reference in struct xwl_present_event · 23c55ec3
    Michel Dänzer authored and Lyude Paul's avatar Lyude Paul committed
    In the log of the commit below, I claimed this wasn't necessary on the
    1.20 branch, but this turned out to be wrong: It meant that
    event->buffer could already be destroyed in xwl_present_free_event,
    resulting in use-after-free and likely a crash.
    
    Fixes: 22c0808a "xwayland: Free all remaining events in
                         xwl_present_cleanup"
    23c55ec3