Skip to content
  • Ray Strode's avatar
    display: tie skeleton handlers to object lifetime · 59149d10
    Ray Strode authored
    Right now we assume a display skeleton object won't
    outlive its associated display object.
    
    In theory that should be true, but if we accidentally
    leak the skeleton it could erroneously happen.
    
    If that does happen then we'll end accessing free'd
    memory, so the leak will turn into a crasher.
    
    This commit addresses this problem by ensuring
    the skeleton signal handlers are disconnected when the
    associated display object goes away.
    
    CVE-2018-14424
    59149d10