Commit d92816d
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 <[email protected]>
1 parent 5e808f9 commit d92816d
File tree
2 files changed
+9
-2
lines changed- Misc/NEWS.d/next/Core and Builtins
- Modules
2 files changed
+9
-2
lines changedLines 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 | |
|---|---|---|---|
| |||
4365 | 4365 | | |
4366 | 4366 | | |
4367 | 4367 | | |
4368 | | - | |
4369 | | - | |
| 4368 | + | |
4370 | 4369 | | |
| 4370 | + | |
4371 | 4371 | | |
4372 | 4372 | | |
4373 | 4373 | | |
| 4374 | + | |
| 4375 | + | |
| 4376 | + | |
| 4377 | + | |
| 4378 | + | |
4374 | 4379 | | |
4375 | 4380 | | |
4376 | 4381 | | |
| |||
0 commit comments