• 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
Name
Last commit
Last update
..
Makefile.am Loading commit data...
address.c Loading commit data...
address.h Loading commit data...
agent-priv.h Loading commit data...
agent.c Loading commit data...
agent.h Loading commit data...
candidate.c Loading commit data...
candidate.h Loading commit data...
component.c Loading commit data...
component.h Loading commit data...
conncheck.c Loading commit data...
conncheck.h Loading commit data...
debug.c Loading commit data...
debug.h Loading commit data...
discovery.c Loading commit data...
discovery.h Loading commit data...
inputstream.c Loading commit data...
inputstream.h Loading commit data...
interfaces.c Loading commit data...
interfaces.h Loading commit data...
iostream.c Loading commit data...
iostream.h Loading commit data...
outputstream.c Loading commit data...
outputstream.h Loading commit data...
pseudotcp.c Loading commit data...
pseudotcp.h Loading commit data...
stream.c Loading commit data...
stream.h Loading commit data...