Skip to content

Commit ef4a99a

Browse files
committed
gh-151763: Add NEWS entry for OOM-0028 fix
1 parent 6416834 commit ef4a99a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Fix a possible NULL dereference in ``os.path.normpath()`` for bytes paths
2+
when memory allocation fails. The function now correctly propagates
3+
``MemoryError`` instead of passing a NULL object to
4+
``PyUnicode_EncodeFSDefault()``.

0 commit comments

Comments
 (0)