summaryrefslogtreecommitdiff
path: root/Python/frozen.c
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-10-18 18:04:18 +0000
committerFred Drake <fdrake@acm.org>2001-10-18 18:04:18 +0000
commit73006d02374e785c660f15bad0aabcf197d97ce8 (patch)
tree844d1bd2f69a4890ea70bca54ac9fcb2cad53a03 /Python/frozen.c
parenta5343ccd28245d96feb21d1457802b97a76aa210 (diff)
downloadcpython-git-73006d02374e785c660f15bad0aabcf197d97ce8.tar.gz
When weakref proxies are involved in binary & ternary slot operations,
the left-hand operand may not be the proxy in all cases. If it isn't, we end up doing two things: a) unwrapping something that isn't a PyWeakReference (later resulting in a core dump) and b) passing a proxy as the right-hand operand anyway, even though that can't be handled by the actual handler (maybe eventually causing a core dump). This is fixed by always unwrapping all the proxies involved before passing anything to the actual handler.
Diffstat (limited to 'Python/frozen.c')
0 files changed, 0 insertions, 0 deletions