Hacker News new | past | comments | ask | show | jobs | submit login

You can also construct malicious payloads which will DoS many implementations with architecture like that.



You can also trivially defend against that by having a max travel distance of, say, 4.


Exactly, so you arrived at the same conclusion - fixed distance so you can safely pick up stream at arbitrary position.


The difference is that the distance limits would be inherent to the codec itself, rather than taking up extra space in the data stream.


Is that guaranteed to catch all valid cases?




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: