Ticket #226 (closed bug: fixed)

Opened 5 years ago

Last modified 5 years ago

list_new_init seems like it would crash if called

Reported by: dmajnemer Owned by:
Priority: normal Milestone:
Component: none Version: trunk
Severity: medium Keywords:
Cc: Language:
Patch status: Platform: linux

Description

list_new_init has a VTABLE_set_integer_native on user_array, a PMC not yet given a value. This would cause list_new_init to deference the ill-defined PMC and would most likely crash. As a side note, why is it the case that it was not given a value of PMCNULL at definition time?

Change History

Changed 5 years ago by chromatic

  • status changed from new to closed
  • resolution set to fixed

Good catch. I took out some code here when I removed the SArray PMC in r35975, but I didn't get all of it. Fixed in r36018.

Note: See TracTickets for help on using tickets.