summaryrefslogtreecommitdiff
path: root/numpy/doc/subclassing.py
diff options
context:
space:
mode:
authorJulian Taylor <jtaylor.debian@googlemail.com>2017-06-03 16:02:10 +0200
committerJulian Taylor <jtaylor.debian@googlemail.com>2017-06-03 17:05:09 +0200
commitc02f1ed4d649e65eb8e3caf2bcf0a1e2f46a16fa (patch)
tree85aa984bafd887ff3b9c7efaa212376c2099b38e /numpy/doc/subclassing.py
parentf7e43c026632fdf1e0a70d6c580c2ff3fee759aa (diff)
downloadnumpy-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/subclassing.py')
0 files changed, 0 insertions, 0 deletions