diff --git a/tiledb/api/c_api/subarray/test/unit_capi_subarray.cc b/tiledb/api/c_api/subarray/test/unit_capi_subarray.cc index 1e542bbb604..f012e78b514 100644 --- a/tiledb/api/c_api/subarray/test/unit_capi_subarray.cc +++ b/tiledb/api/c_api/subarray/test/unit_capi_subarray.cc @@ -191,10 +191,11 @@ TEST_CASE( tiledb_subarray_add_point_ranges(x.ctx(), x.subarray, 0, ranges_inv, 2); REQUIRE(tiledb_status(rc) == TILEDB_ERR); } - SECTION("invalid count") { - rc = tiledb_subarray_add_point_ranges(x.ctx(), x.subarray, 0, ranges, 20); - REQUIRE(tiledb_status(rc) == TILEDB_ERR); - } + /** + * No "invalid count" section here; + * There is no way to programmatically (in)validate the count. An invalid + * value will result in a segfault from an OOB memcpy. + */ } TEST_CASE(