Skip to content
  • Mukund Sivaraman's avatar
    Fix a dig segfault due to bad linked list usage [RT #37591] · c5e94233
    Mukund Sivaraman authored
    The crash (#37591) seems to happen because the query is taken out of
    lookup->q(query->link), and put on lookup->connecting(query->clink).
    The code checks query->link where it is detached (-1 in next pointer).
    However, there's no need to call send_tcp_connect() there as the queries
    are already connecting at that point.
    c5e94233