github-advanced-security[bot] commented on code in PR #15917:
URL: https://github.com/apache/druid/pull/15917#discussion_r1495060353
##########
processing/src/main/java/org/apache/druid/frame/read/columnar/StringFrameColumnReader.java:
##########
@@ -231,7 +201,11 @@
final int totalNumValues;
if (multiValue) {
- totalNumValues =
adjustCumulativeRowLength(getCumulativeRowLength(memory, numRows - 1));
+ totalNumValues = FrameColumnReaderUtils.getAdjustedCumulativeRowLength(
+ memory,
+ getStartOfCumulativeLengthSection(),
+ numRows - 1
Review Comment:
## User-controlled data in arithmetic expression
This arithmetic expression depends on a [user-provided value](1),
potentially causing an underflow.
This arithmetic expression depends on a [user-provided value](2),
potentially causing an underflow.
[Show more
details](https://github.com/apache/druid/security/code-scanning/6597)
--
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]