[Numpy-svn] [numpy/numpy] 6fd06c: BUG: fix pointer arithmetic in _get_field_view

GitHub noreply at github.com
Tue Nov 24 10:30:14 EST 2015


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 6fd06c7a2e6ef37604a99159cc8d1517aec95652
      https://github.com/numpy/numpy/commit/6fd06c7a2e6ef37604a99159cc8d1517aec95652
  Author: Allan Haldane <allan.haldane at gmail.com>
  Date:   2015-11-21 (Sat, 21 Nov 2015)

  Changed paths:
    M numpy/core/src/multiarray/mapping.c

  Log Message:
  -----------
  BUG: fix pointer arithmetic in _get_field_view

Should have used PyArray_BYTES, not PyArray_DATA

Fixes #6701


  Commit: 2a47ffc477fc72e2bc59341e1debac2096d10499
      https://github.com/numpy/numpy/commit/2a47ffc477fc72e2bc59341e1debac2096d10499
  Author: Allan Haldane <allan.haldane at gmail.com>
  Date:   2015-11-23 (Mon, 23 Nov 2015)

  Changed paths:
    M numpy/core/src/multiarray/mapping.c

  Log Message:
  -----------
  MAINT: fix casting warnings in mapping.c


  Commit: 239917609779503d0b4071d59d5b780df6e5b575
      https://github.com/numpy/numpy/commit/239917609779503d0b4071d59d5b780df6e5b575
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2015-11-24 (Tue, 24 Nov 2015)

  Changed paths:
    M numpy/core/src/multiarray/mapping.c

  Log Message:
  -----------
  Merge pull request #6702 from ahaldane/fix_getfield_p_arith

BUG: fix pointer arithmetic in _get_field_view


Compare: https://github.com/numpy/numpy/compare/65aa24aa9e3c...239917609779


More information about the Numpy-svn mailing list