Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7ea8927

Browse files
authored
gh-111178: fix UBSan failures in Objects/exceptions.c (GH-128154)
Fix UBSan failures for `PyBaseExceptionObject`, `PyStopIterationObject`, `PySystemExitObject`, `PyImportErrorObject`, `PyOSErrorObject`, `PyNameErrorObject`, `PyAttributeErrorObject`, `PySyntaxErrorObject`, `KeyError`, `UnicodeError*`, `PyBaseExceptionGroupObject` Remove redundant casts Align the naming convention `Py[...]_CAST(op)` where only an assert-only type check is performed.
1 parent 395335d commit 7ea8927

1 file changed

Lines changed: 282 additions & 192 deletions

File tree

0 commit comments

Comments
 (0)