Skip to content

Commit eaa3532

Browse files
committed
Merge branch 'PHP-8.0'
* PHP-8.0: Fix #78819: Heap Overflow in msg_send
2 parents 7c53e7d + 465b3ab commit eaa3532

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/sysvmsg/sysvmsg.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ PHP_FUNCTION(msg_send)
362362
sysvmsg_queue_t * mq = NULL;
363363
struct php_msgbuf * messagebuffer = NULL; /* buffer to transmit */
364364
int result;
365-
int message_len = 0;
365+
size_t message_len = 0;
366366

367367
RETVAL_FALSE;
368368

0 commit comments

Comments
 (0)