develooper Front page | perl.perl5.porters | Postings from April 2007

Re: [perl #42648] [PATCH] crash in win32/VMem.h when out of memory

Thread Previous
Steve Hay
April 24, 2007 05:16
Re: [perl #42648] [PATCH] crash in win32/VMem.h when out of memory
Message ID:
Devin Heitmueller (via RT) wrote:
> # New Ticket Created by  "Devin Heitmueller" 
> # Please include the string:  [perl #42648]
> # in the subject line of all future correspondence about this issue. 
> # <URL: >
> This is a bug report for perl from,
> generated with the help of perlbug 1.35 running under perl 5.9.4.
> -----------------------------------------------------------------
> There is an condition in the VMem::Realloc and VMem::Malloc when
> _USE_LINKED_LIST is enabled and the system is out of memory.
> In cases where m_pmalloc/m_prealloc return a NULL pointer, the next line
> of code calls LinkBlock(ptr) and will dereference the NULL pointer.
> The attached patch handles the allocation failure and returns a NULL pointer
> as expected to the caller.

Thanks, applied as #31054.


Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About