acvictor opened a new pull request, #11623: URL: https://github.com/apache/incubator-gluten/pull/11623
## What changes are proposed in this pull request? This PR replaces `reserve()` with `resize()` for `projectNames` and `expressions` vectors in `getEmitInfo()`. `std::vector::reserve()` allocates capacity but does not change `size()`. The subsequent loop assigns elements via `operator[]` which accesses indices beyond `size()` and this is undefined behaviour. ## How was this patch tested? Existing tests. ## Was this patch authored or co-authored using generative AI tooling? No -- 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]
