develooper Front page | perl.perl5.porters | Postings from October 2018

[perl #133550] [PATCH] Define also Perl's calloc() macro

Tony Cook via RT
October 29, 2018 04:53
[perl #133550] [PATCH] Define also Perl's calloc() macro
Message ID:
On Fri, 28 Sep 2018 04:43:47 -0700, wrote:
> Functions malloc(), realloc() and free() are already redefined to
> PerlMem_malloc(), PerlMem_realloc() and PerlMem_free(). But calloc() not.
> This leads to the problem that memory by calloc() is allocated by system
> C library, but freed by Perl's PerlMem_free() which just cause memory
> corruptions.

Thanks, applied as 5ace197f9a644bde21b1b41430099295ed92365e.


via perlbug:  queue: perl5 status: new Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About