2 ms·
Sure, until someone sets the prefix to 100MB large, and sends zero bytes of data :)
by ajsnigrutin 4y ago
Sure, until someone sets the prefix to 100MB large, and sends zero bytes of data :)
- account42 4y agoWhich would be a lot easier to catch by bounds checks in the language / data types used / sanitizers / fuzzers / static analysis than cases like this where you can have two implementations seemingly successfully parse the data but disagree on the result.