mirror of
https://github.com/capnproto/pycapnp.git
synced 2025-03-04 08:24:43 +01:00
![]() This patch fixes a problem of reading random values for reader options in pycapnp. The code which adds task to the list captures 'opts' by reference and that causes a problem in case when 'opts' is allocated on on the caller's stack. By the time when task is handled the stack frame holding the 'opts' is gone which leaves dangling reference to 'opts' in lambda's captures. As a result pycapnp reads random values for reader options which sometimes causes unexpected errors (for example an error that nesting level ius negative). |
||
---|---|---|
.. | ||
__init__.pxd | ||
asyncHelper.h | ||
asyncIoHelper.h | ||
capabilityHelper.cpp | ||
capabilityHelper.h | ||
checkCompiler.h | ||
fixMaybe.h | ||
helpers.pxd | ||
non_circular.pxd | ||
rpcHelper.h | ||
serialize.h |