Skip to content
  • Jakub Adam's avatar
    agent: check message length before extracting RFC4571 frame size · 5496500b
    Jakub Adam authored
    nice_socket_recv_messages() may return a NiceInputMessage of length = 0,
    so before attempting to read the RFC4571 header check the message really
    has at least sizeof (guint16) bytes of data.
    
    The bug's always been there, the previous commit only made it more
    apparent.
    5496500b