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