Title: possible undefined behavior in _PyObject_FastCall_Prepend
Type: Stage: resolved
Components: Versions: Python 3.7, Python 3.6
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: benjamin.peterson
Priority: normal Keywords:

Created on 2017-09-04 23:32 by benjamin.peterson, last changed 2017-09-05 05:25 by benjamin.peterson. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 3329 merged benjamin.peterson, 2017-09-04 23:35
Messages (2)
msg301283 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2017-09-04 23:32
As seen by ubsan:
../cpython/Objects/call.c:858:9: runtime error: null pointer passed as argument 2, which is declared to never be null
msg301298 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2017-09-05 05:23
New changeset a3070d530c70477273cacbc61660b318582fff44 by Benjamin Peterson in branch 'master':
bpo-31347: _PyObject_FastCall_Prepend: do not call memcpy if args might not be null (#3329)
Date User Action Args
2017-09-05 05:25:55benjamin.petersonsetstatus: open -> closed
resolution: fixed
stage: resolved
2017-09-05 05:23:44benjamin.petersonsetmessages: + msg301298
2017-09-04 23:35:49benjamin.petersonsetpull_requests: + pull_request3351
2017-09-04 23:32:36benjamin.petersoncreate