mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
![]() For arrays with a length expression (e.g. uint16[size] instead of uint16[]), the parsing loop would consider reaching the end of the data buffer as a successful loop termination condition even if it's not yet parsed the required number of elements. Now, for such arrays, the loop will only terminate based on the loop counter (derived from the length expression) or else it will throw an OOB exception when trying to parse an element and finding not enough data in the buffer. Credit to Tomas Bortoli for reporting the problem and proposing patches. |
||
---|---|---|
.. | ||
lib | ||
patches | ||
src | ||
CMakeLists.txt | ||
TODO |