You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "lriggs (via GitHub)" <gi...@apache.org> on 2026/08/04 20:54:20 UTC

Re: [PR] GH-50707: [C++][Gandiva] fix out-of-bounds read in mask utf8proc length [arrow]

lriggs commented on code in PR #50709:
URL: https://github.com/apache/arrow/pull/50709#discussion_r3716106184


##########
cpp/src/gandiva/gdv_function_stubs_test.cc:
##########
@@ -1151,6 +1151,34 @@ TEST(TestGdvFnStubs, TestMaskLastN) {
   EXPECT_EQ(expected, std::string(result, out_len));
 }
 
+TEST(TestGdvFnStubs, TestMaskTruncatedUtf8NoOverread) {

Review Comment:
   Might be worth having a simple test for gdv_mask_last_n_utf8_int32 as well



-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org