Skip to content

Commit 2f287cc

Browse files
committed
Fix format specifier
1 parent 0576d3e commit 2f287cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_alloc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1319,7 +1319,7 @@ static zend_always_inline void *zend_mm_alloc_heap(zend_mm_heap *heap, size_t si
13191319
size = MAX(size, 1);
13201320
size = ZEND_MM_ALIGNED_SIZE(size) + ZEND_MM_ALIGNED_SIZE(sizeof(zend_mm_debug_info));
13211321
if (UNEXPECTED(size < real_size)) {
1322-
zend_error_noreturn(E_ERROR, "Possible integer overflow in memory allocation (%zu + %zu)", ZEND_MM_ALIGNED_SIZE(real_size), ZEND_MM_ALIGNED_SIZE(sizeof(zend_mm_debug_info)));
1322+
zend_error_noreturn(E_ERROR, "Possible integer overflow in memory allocation ("ZEND_ULONG_FMT" + "ZEND_ULONG_FMT")", ZEND_MM_ALIGNED_SIZE(real_size), ZEND_MM_ALIGNED_SIZE(sizeof(zend_mm_debug_info)));
13231323
return NULL;
13241324
}
13251325
#endif

0 commit comments

Comments
 (0)