Commit 4ec9f64
On failure, _PyBytes_Resize() will deallocate the bytes object and set
"result" to NULL.
https://bugs.python.org/issue34824
(cherry picked from commit 365ad2e)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
1 parent c119d59 commit 4ec9f64
2 files changed
Lines changed: 9 additions & 2 deletions
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4711 | 4711 | | |
4712 | 4712 | | |
4713 | 4713 | | |
4714 | | - | |
4715 | | - | |
| 4714 | + | |
4716 | 4715 | | |
| 4716 | + | |
4717 | 4717 | | |
4718 | 4718 | | |
4719 | 4719 | | |
| 4720 | + | |
| 4721 | + | |
| 4722 | + | |
| 4723 | + | |
| 4724 | + | |
4720 | 4725 | | |
4721 | 4726 | | |
4722 | 4727 | | |
| |||
0 commit comments