Ticket #991 (closed bug: fixed)
Parrot dumps core when attempting to create a FixedPMCArray with negative length
Reported by: | dukeleto | Owned by: | dukeleto |
---|---|---|---|
Priority: | critical | Milestone: | |
Component: | core | Version: | 1.5.0 |
Severity: | medium | Keywords: | |
Cc: | Language: | ||
Patch status: | Platform: | all |
Description (last modified by dukeleto) (diff)
This code:
.sub main new $P0, ['FixedPMCArray'] set $P0, -1 .end
does this:
Failed allocation of 4294967292 bytes Parrot VM: PANIC: Out of mem! C file src/gc/alloc_memory.c, line 61 Parrot file (not available), line (not available) We highly suggest you notify the Parrot team if you have not been working on Parrot. Use parrotbug (located in parrot's root directory) or send an e-mail to parrot-dev@lists.parrot.org. Include the entire text of this error message and the text of the script that generated the error. If you've made any modifications to Parrot, please describe them as well. Version : 1.5.0-devel Configured : Mon Sep 7 20:01:36 2009 GMT Architecture: nojit JIT Capable : No Interp Flags: (no interpreter) Exceptions : (missing from core) Dumping Core...
Change History
Note: See
TracTickets for help on using
tickets.