Ticket #658 (closed defect: fixed)

Opened 2 years ago

Last modified 8 months ago

Errors during argument unpacking of closure functions can crash

Reported by: scoder Owned by: scoder
Priority: critical Milestone: 0.15
Component: Code Generation Keywords:
Cc:

Description

When the *args and **kwargs parameters of a function are in a closure, and errors occur during argument unpacking, the closure is left in an invalid state because the references are not properly set back to 0 after decref-ing them.

Change History

Changed 2 years ago by scoder

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

Fix is here:

 https://github.com/cython/cython/commit/ac871a9e3ba72f60b7de22d157674efa3f6d398e

This should go right into the next Cython bug fix release.

Changed 2 years ago by scoder

  • milestone changed from 0.15 to 0.14.2

Changed 8 months ago by scoder

  • milestone changed from 0.14.2 to 0.15
Note: See TracTickets for help on using tickets.