Skip to content

Commit 45ecb43

Browse files
author
Anushree Prakash B
committed
Bug#29921423 - MEMCPY-PARAM-OVERLAP IN CLI_READ_ROWS
Post push patch to fix failures. RB: 24485
1 parent 99a58d3 commit 45ecb43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql-common/client.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2303,7 +2303,7 @@ MYSQL_DATA *cli_read_rows(MYSQL *mysql, MYSQL_FIELD *mysql_fields,
23032303
cur->data[field] = to;
23042304
DBUG_EXECUTE_IF("simulate_invalid_packet_data", {
23052305
to = end_to + 1;
2306-
len = 4294967295;
2306+
len = ULONG_MAX - 1;
23072307
});
23082308
if (to > end_to || len > (ulong)(end_to - to)) {
23092309
free_rows(result);

0 commit comments

Comments
 (0)