summaryrefslogtreecommitdiff
path: root/numpy/core/fromnumeric.py
diff options
context:
space:
mode:
authorLars Buitinck <larsmans@gmail.com>2015-06-14 20:45:43 +0200
committerLars Buitinck <larsmans@gmail.com>2015-06-14 21:07:09 +0200
commit7f0900f0f08f9218428ce2d0dd0908af0f9b8cc9 (patch)
tree318bf077f9e311319a16ccf784997e7bb0d0ed6b /numpy/core/fromnumeric.py
parent524d6f9672eb737b40b4981bc9977ad71a3f19df (diff)
downloadnumpy-7f0900f0f08f9218428ce2d0dd0908af0f9b8cc9.tar.gz
BUG: erroneous use of sprintf
Output argument was a char ** instead of a char *. Also changed to use snprintf for safety; if the error message is ever changed, the magic number 174 (!?) is likely to go stale, causing buffer overruns.
Diffstat (limited to 'numpy/core/fromnumeric.py')
0 files changed, 0 insertions, 0 deletions