Commit cd10a2e
Avoid calling memcpy(data + writer->pos, NULL, 0)
which has an undefined behavior.
Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent 82a24a4 commit cd10a2e
2 files changed
Lines changed: 6 additions & 0 deletions
File tree
- Misc/NEWS.d/next/Core_and_Builtins
- Objects
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 | |
|---|---|---|---|
| |||
465 | 465 | | |
466 | 466 | | |
467 | 467 | | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
468 | 472 | | |
469 | 473 | | |
470 | 474 | | |
| |||
0 commit comments