-
-
Notifications
You must be signed in to change notification settings - Fork 33.6k
Open
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
When the value passed to Py_ABS() macro is LLONG_MIN (or any min value of a signed integer), the macro suffers from undefined behavior. This was detected in a failure to build the OSS-Fuzz test suite.
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs
- gh-141370: document undefined behavior of Py_ABS() #141439
- [3.14] gh-141370: document undefined behavior of Py_ABS() (GH-141439) #141454
- [3.13] gh-141370: document undefined behavior of Py_ABS() (GH-141439) #141455
- gh-141370: Fix undefined behavior when using Py_ABS() #141548
- [3.14] gh-141370: Fix undefined behavior when using Py_ABS() (GH-141548) #142301
- [3.13] gh-141370: Fix undefined behavior when using Py_ABS() (GH-141548) #142304
Metadata
Metadata
Assignees
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Projects
Status
Todo