Corrected some more bug with attribute list decoding
This commit is contained in:
parent
598d994644
commit
dcec7a1be9
@ -1128,7 +1128,8 @@ int aaip_decode_pair(struct aaip_state *aaip,
|
||||
size_t ready_bytes;
|
||||
|
||||
*consumed= 0;
|
||||
if(aaip->pair_status < 0 || aaip->pair_status == 4 ||
|
||||
if((aaip->pair_status < 0 && aaip->pair_status != -2) ||
|
||||
aaip->pair_status == 4 ||
|
||||
aaip->pair_status == 5) { /* dead ends */
|
||||
ret= aaip->pair_status;
|
||||
goto ex;
|
||||
|
Loading…
Reference in New Issue
Block a user