diff options
author | /dev/humancontroller <devhc@example.com> | 2017-08-14 14:04:02 +0200 |
---|---|---|
committer | /dev/humancontroller <devhc@example.com> | 2017-08-14 14:04:02 +0200 |
commit | 57a3338110978b37baab6f7c45935a1dff5db603 (patch) | |
tree | a9b6be3eb4b16c1e8053e8ae64b79cd0b9377181 /src/qcommon/qcommon.h | |
parent | a150f425666146fbdca921ea44838b81889ec9e9 (diff) |
apply the security patch for incoming-packet VoIP-data parsing and Huffman decompression
TODO: improve this description
Diffstat (limited to 'src/qcommon/qcommon.h')
-rw-r--r-- | src/qcommon/qcommon.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qcommon/qcommon.h b/src/qcommon/qcommon.h index 5dc5ab0c..f6111c39 100644 --- a/src/qcommon/qcommon.h +++ b/src/qcommon/qcommon.h @@ -1165,9 +1165,9 @@ void Huff_Decompress(msg_t *buf, int offset); void Huff_Init(huffman_t *huff); void Huff_addRef(huff_t* huff, byte ch); int Huff_Receive (node_t *node, int *ch, byte *fin); -void Huff_transmit (huff_t *huff, int ch, byte *fout); -void Huff_offsetReceive (node_t *node, int *ch, byte *fin, int *offset); -void Huff_offsetTransmit (huff_t *huff, int ch, byte *fout, int *offset); +void Huff_transmit (huff_t *huff, int ch, byte *fout, int maxoffset); +void Huff_offsetReceive (node_t *node, int *ch, byte *fin, int *offset, int maxoffset); +void Huff_offsetTransmit (huff_t *huff, int ch, byte *fout, int *offset, int maxoffset); void Huff_putBit( int bit, byte *fout, int *offset); int Huff_getBit( byte *fout, int *offset); |