rose: Add length checks to CALL_REQUEST parsing
commit e0bccd31 upstream Define some constant offsets for CALL_REQUEST based on the description at <http://www.techfest.com/networking/wan/x25plp.htm> and the definition of ROSE as using 10-digit (5-byte) addresses. Use them consistently. Validate all implicit and explicit facilities lengths. Validate the address length byte rather than either trusting or assuming its value. Signed-off-by:Ben Hutchings <ben@decadent.org.uk> Signed-off-by:
David S. Miller <davem@davemloft.net> [dannf: backported to Debian's 2.6.32] Signed-off-by:
Willy Tarreau <w@1wt.eu>
Showing
Please register or sign in to comment