Commit dcec7a1b authored by Thomas Schmitt's avatar Thomas Schmitt

Corrected some more bug with attribute list decoding

parent 598d9946
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment