diff options
author | Zackery Spytz <zspytz@gmail.com> | 2018-10-13 03:25:05 -0600 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2018-10-13 12:25:05 +0300 |
commit | 68ddb59417ee0b0dedf5c8b66a304138c9ce0a63 (patch) | |
tree | a15f930fb5826ff7dc49dbaabdc23a2fa31f3bc7 /Misc | |
parent | 6198976ec807cf3b658e902fd63db88a3ac99b8c (diff) | |
download | cpython-git-68ddb59417ee0b0dedf5c8b66a304138c9ce0a63.tar.gz |
[2.7] bpo-22851: Fix a segfault when accessing generator.gi_frame.f_restricted. (GH-9348)
Frame's field f_tstate is NULL when the generator is exhausted.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2018-09-17-04-41-42.bpo-22851.0hsJPh.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-09-17-04-41-42.bpo-22851.0hsJPh.rst b/Misc/NEWS.d/next/Core and Builtins/2018-09-17-04-41-42.bpo-22851.0hsJPh.rst new file mode 100644 index 0000000000..c5f5249400 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2018-09-17-04-41-42.bpo-22851.0hsJPh.rst @@ -0,0 +1,2 @@ +Fix a segfault when accessing ``generator.gi_frame.f_restricted`` when the +generator is exhausted. Patch by Zackery Spytz. |