Issue 15770: _testbuffer.get_contiguous() doesn't check input arguments (original) (raw)

Issue15770

Created on 2012-08-23 08:07 by vstinner, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
_testbuffer.patch vstinner,2012-08-23 08:07 review
Messages (3)
msg168928 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2012-08-23 08:07
_testbuffer.get_contiguous() abort with an assertion error if it gets invalid arguments. Attached patch adds tests for valid values. I found this bug using my fuzzer (fusil).
msg168942 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2012-08-23 13:58
New changeset fa745ed89b7a by Stefan Krah in branch 'default': Issue #15770: Check invalid arguments in test function. Patch by Victor Stinner. http://hg.python.org/cpython/rev/fa745ed89b7a
msg168943 - (view) Author: Stefan Krah (skrah) * (Python committer) Date: 2012-08-23 13:59
Thanks, fixed.
History
Date User Action Args
2022-04-11 14:57:35 admin set github: 59974
2012-08-23 13:59:47 skrah set status: open -> closedtype: behaviormessages: + resolution: fixedstage: resolved
2012-08-23 13:58:42 python-dev set nosy: + python-devmessages: +
2012-08-23 08:07:37 vstinner create