github-advanced-security[bot] commented on code in PR #16708: URL: https://github.com/apache/druid/pull/16708#discussion_r1669664207
########## processing/src/main/java/org/apache/druid/segment/data/FrontCodedIntArrayIndexedWriter.java: ########## @@ -206,6 +215,11 @@ return bucketBuffer[relativeIndex]; } else { final int bucket = adjustedIndex >> div; + if (readCachedBucket == bucket) { + readBufferCache.position(0); Review Comment: ## Dereferenced variable may be null Variable [readBufferCache](1) may be null at this access as suggested by [this](2) null guard. [Show more details](https://github.com/apache/druid/security/code-scanning/7549) -- 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: commits-unsubscr...@druid.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@druid.apache.org For additional commands, e-mail: commits-h...@druid.apache.org