mirror of https://github.com/OISF/suricata
nfs: fix SECINFO_NO_NAME parser handling
nfs4_res_secinfo_no_name() used a local var "i2" to walk through
the security-flavor array entries, but returned the pre-walk var "i"
in the Ok at the end. Every byte of the flavor array was therefore left
unconsumed in the input stream and re-interpreted by count next iteration
as a subsequent compound operation.
Addressed by returning i2 instead of i so all flavor bytes are consumed.
Ticket: #8860.
(cherry picked from commit 9b491a131e)
pull/16171/head
parent
19698065ec
commit
1bcfc219f1
Loading…
Reference in New Issue