#233: [BUG] check_named reads past the end of an array
--------------------+-------------------------------------------------------
Reporter: cotto | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: none | Version: trunk
Severity: medium | Keywords:
Lang: | Patch:
Platform: all |
--------------------+-------------------------------------------------------
Comment(by cotto):
I got around this in r36053 by manually including
src/pmc/pmc_fixedintegerarray.h in src/inter_call.c and using GETATTR to
get the array. The code can then continue reading past the end of the
array without throwing any pesky exceptions.
This is hacky, but it seemed like the next best option to fixing
check_named. Once the code in check_named is fixed, the GETATTR...
business can be changed to a nice encapsulated VTABLE function and the
extra header can be removed.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/233#comment:1>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets