• Youness Alaoui's avatar
    Do not update a remote candidate's type · 93862c1e
    Youness Alaoui authored
    When adding a remote candidate, if it's the same ip:port, we should
    also check its type, otherwise it's a new candidate. We can't allow
    a candidate type to be updated. This caused issues to ikonst_ on IRC
    where for some reason a host candidate appeared as both host and prflx
    and the update caused a remote host candidate to be updated to prflx
    causing a crash when the sockptr was being accessed.
    93862c1e
agent.c 181 KB