stevenpall commented on PR #64788: URL: https://github.com/apache/doris/pull/64788#issuecomment-4859337766
We hit this in production on 4.1.2 (released 2026-06-17, one week before this merged). On base64 input whose length is not a multiple of 4, `from_base64` undersizes the output buffer (`len/4*3`) and overflows before the row is rejected, corrupting the output string column and crashing the BE. Symbolized from a core: SIGSEGV in `FromBase64Impl::vector` (function_string.cpp) → `StringOP::push_value_string` → `PODArrayBase::size` on a corrupted `chars` pointer (decoded value ~96KB). Could this be backported to `branch-4.1` for a 4.1.3? It reliably crashes a BE from a normal query path, so a released 4.1.x fix would help. Happy to open the backport PR if that is useful. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
