]> code.delx.au - pulseaudio/commit
protocol-native: Ensure tlength is not set higher than maxlength
authorDavid Henningsson <david.henningsson@canonical.com>
Mon, 25 Mar 2013 08:20:14 +0000 (09:20 +0100)
committerTanu Kaskinen <tanuk@iki.fi>
Mon, 25 Mar 2013 13:43:33 +0000 (15:43 +0200)
commit2026c41be6f4e1a526c94c1368e5e528597df03a
tree15dc194d748fbdcf57dc94c6a66e8eb29f330de2
parent450747cf22af3348a78128c4330ea553f65c2e4e
protocol-native: Ensure tlength is not set higher than maxlength

Tlength should never be set higher than maxlength. While this is
corrected by memblockq later, we still need a correct tlength for
the subsequent calculations.

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
src/pulsecore/protocol-native.c