Skip to content
  • Ray Strode's avatar
    daemon: driveby XDMCP crash fix · 38ffd450
    Ray Strode authored
    If the XDMCP chooser exits enough times,
    the whole daemon eventually tanks when
    the child watch function tries to access
    freed memory.
    
    This commit takes the hammer approach of
    adding a reference to the slave from
    the child watch func.
    
    It also makes sure that there isn't ever
    two slaves running for one display at the
    same time.
    38ffd450