diff options
author | Julian Taylor <jtaylor.debian@googlemail.com> | 2017-06-03 16:02:10 +0200 |
---|---|---|
committer | Julian Taylor <jtaylor.debian@googlemail.com> | 2017-06-03 17:05:09 +0200 |
commit | c02f1ed4d649e65eb8e3caf2bcf0a1e2f46a16fa (patch) | |
tree | 85aa984bafd887ff3b9c7efaa212376c2099b38e /numpy/doc/basics.py | |
parent | f7e43c026632fdf1e0a70d6c580c2ff3fee759aa (diff) | |
download | numpy-c02f1ed4d649e65eb8e3caf2bcf0a1e2f46a16fa.tar.gz |
BUG: handle resize to 0d array
0d arrays have NULL for stride and dimension, PyArray_Resize assigns
it a valid pointer from RENEW which when passed back to the allocation
cache does not have the minimum size of 16 bytes it requires leading to
out of bound accesses.
Closes gh-9216
Diffstat (limited to 'numpy/doc/basics.py')
0 files changed, 0 insertions, 0 deletions