Actions
Bug #3642
closedRFB parser wrongly handles incomplete data
Affected Versions:
Effort:
Difficulty:
Label:
Description
parse_supported_security_types returns nom::Err::Incomplete(nom::Needed::Size(2)) if we give it a one byte input (whose value is 2)
when parse_server_security_type returns nom::Err::Incomplete(nom::Needed::Size(4)) if we give it a one byte input
In the first case we need two additional bytes to the first byte
In the second case, we need a total of 4 bytes, including the first one we got
Rust nom doesn't give you a usable number especially when their is a chain of parsers
No backport as it is a new feature
Updated by Victor Julien over 4 years ago
- Assignee set to Philippe Antoine
- Target version changed from 5.0.3 to 6.0.0beta1
Updated by Philippe Antoine over 4 years ago
- Status changed from In Review to Closed
Actions