diff options
author | Lars Buitinck <larsmans@gmail.com> | 2015-06-14 20:45:43 +0200 |
---|---|---|
committer | Lars Buitinck <larsmans@gmail.com> | 2015-06-14 21:07:09 +0200 |
commit | 7f0900f0f08f9218428ce2d0dd0908af0f9b8cc9 (patch) | |
tree | 318bf077f9e311319a16ccf784997e7bb0d0ed6b /numpy/core/fromnumeric.py | |
parent | 524d6f9672eb737b40b4981bc9977ad71a3f19df (diff) | |
download | numpy-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