AndreaBozzo commented on PR #12010: URL: https://github.com/apache/arrow-rs/pull/12010#issuecomment-6634880254
> This PR is good, but it's not a fix for the issue I reported. > > > ...and a release build has undefined behaviour. > > IIRC, the behavior is defined: it's a panic. It can't be UB because that would be a security hole. We either fix by realigning the buffers or panic. Letting unaligned buffers enter a system will cause problems since Rust code assumes alignment. Hi @felipecrv , i'm fine with not closing your ticket so i'll modify the body to only refer it on the panic point, the alignment check is debug only, release does misaligned load -- 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]
