Vallishp opened a new issue, #31025: URL: https://github.com/apache/doris/issues/31025
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues. ### Version master ### What's Wrong? doris/be/src/vec/exec/format/orc/vorc_reader.cpp:2173:27: error: Null pointer dereference: null_map [ctunullpointer] auto* null_map_data = null_map->data(); doris/be/src/vec/exec/format/orc/vorc_reader.cpp:2173:27: note: Dereferencing argument null_map that is null Cppcheck report NULL pointer access in vorc_reader ### What You Expected? Pointer access should be done after validating pointer for NULL check ### How to Reproduce? cppcheck on be code. and search error vallish@Vallishs-MacBook-Air workspace % cat te.txt| grep ctunullpointer doris/be/src/vec/exec/format/orc/vorc_reader.cpp:2173:27: error: Null pointer dereference: null_map [ctunullpointer] vallish@Vallishs-MacBook-Air workspace % ### Anything Else? _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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]
