diff options
Diffstat (limited to 'malloc.c')
-rw-r--r-- | malloc.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1239,6 +1239,7 @@ Perl_malloc(size_t nbytes) * malloc so that pointer subtraction in the same structure is always * well defined */ if (nbytes > PTRDIFF_MAX) { + dTHX; MYMALLOC_WRITE2STDERR("Memory requests are limited to PTRDIFF_MAX" " bytes to prevent possible undefined" " behavior"); |