Skip to content

Conversation

kjnilsson
Copy link
Contributor

If osiris_replica:parse_chunk ended up parsing an chunk iolist where the first element in the list is exactly 48 bytes (the size of the osiris chunk header) it would end up crashing the call to osiris_log:accept_chunk as this assumed the filter data, when included, would always be in the first list element.

If osiris_replica:parse_chunk ended up parsing an chunk iolist where
the first element in the list is exactly 48 bytes (the size of the
osiris chunk header) it would end up crashing the call to
osiris_log:accept_chunk as this assumed the filter data, when included,
would always be in the first list element.
@kjnilsson kjnilsson added the bug Something isn't working label May 15, 2025
@michaelklishin michaelklishin merged commit f03e0b5 into main May 19, 2025
3 checks passed
@michaelklishin michaelklishin deleted the accept-chunk-with-filter-fix branch May 19, 2025 02:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
2 participants