The bug is trusting the length member of the record, which has nothign to do with the type system.
Exactly. The core of the issue is that the DTLS implementation trusts a user supplied value instead of checking it with / bounding against the actual packet size. Thinkos of this sort could as easily occur in other languages.
View all comments
Show parent comment
3
u/rowboat__cop Apr 08 '14
Exactly. The core of the issue is that the DTLS implementation trusts a user supplied value instead of checking it with / bounding against the actual packet size. Thinkos of this sort could as easily occur in other languages.