diff options
author | Jakub Adam <jakub.adam@ktknet.cz> | 2018-10-31 01:56:39 +0100 |
---|---|---|
committer | Jakub Adam <jakub.adam@ktknet.cz> | 2018-10-31 12:45:16 +0100 |
commit | 5496500b1535d9343fdac2a3408864643fe65d7e (patch) | |
tree | 9d293f82952f99d6c555cca7898e16bbe2c91a79 /AUTHORS | |
parent | d79d1179113f4847aceb8249ce7d75ca6fc8c140 (diff) | |
download | libnice-5496500b1535d9343fdac2a3408864643fe65d7e.tar.gz |
agent: check message length before extracting RFC4571 frame size
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.
Diffstat (limited to 'AUTHORS')
0 files changed, 0 insertions, 0 deletions