Correct mistake in dcb_read; use larger integer to accomodate three byte length in modutil.
This commit is contained in:

committed by
Martin Brampton

parent
56620bfcf7
commit
4a0925f33d
@ -540,7 +540,7 @@ GWBUF* modutil_get_complete_packets(GWBUF** p_readbuf)
|
||||
{
|
||||
GWBUF *buff = NULL, *packet;
|
||||
uint8_t *ptr;
|
||||
int len,blen,total = 0;
|
||||
uint32_t len,blen,total = 0;
|
||||
|
||||
if(p_readbuf == NULL || (*p_readbuf) == NULL ||
|
||||
gwbuf_length(*p_readbuf) < 3)
|
||||
|
Reference in New Issue
Block a user