[Numpy-svn] [numpy/numpy] c654c0: Call to byte_swap_vector should use dst, not d1, b...
GitHub
noreply at github.com
Wed Jun 19 20:53:08 EDT 2013
Branch: refs/heads/master
Home: https://github.com/numpy/numpy
Commit: c654c04e9213fc75f0f14b18a4a257dfdbb41b27
https://github.com/numpy/numpy/commit/c654c04e9213fc75f0f14b18a4a257dfdbb41b27
Author: Andrew Horton <andrew.j.horton at gmail.com>
Date: 2013-06-16 (Sun, 16 Jun 2013)
Changed paths:
M numpy/core/src/multiarray/ctors.c
Log Message:
-----------
Call to byte_swap_vector should use dst, not d1, because this is
modified by the call to the strided memcpy and will end up pointing
after the end of the destination buffer in that case.
Commit: b3755926f5e5dc9fde273a8bf53bd98238e8e2b8
https://github.com/numpy/numpy/commit/b3755926f5e5dc9fde273a8bf53bd98238e8e2b8
Author: Charles Harris <charlesr.harris at gmail.com>
Date: 2013-06-19 (Wed, 19 Jun 2013)
Changed paths:
M numpy/core/src/multiarray/ctors.c
Log Message:
-----------
Merge pull request #3455 from Hoops/copy_and_swap_stride_dst
Possible memory overwrite in copy_and_swap
Compare: https://github.com/numpy/numpy/compare/006544acdfd8...b3755926f5e5
More information about the Numpy-svn
mailing list