rtpproto: Check the size before reading buf[1]
I doubt that anyone ever would try to send a 1 byte packet
via the RTP protocol, but check just in case - it shouldn't
crash at least.
Signed-off-by:
Martin Storsjö <martin@martin.st>
Showing
Please
register
or
sign in
to comment