[parrot/parrot] 1e5f20: avoid invalid unaligned StructView_set_integer_key...

GitHub noreply at github.com
Fri May 4 17:03:45 UTC 2012


  Branch: refs/heads/master
  Home:   https://github.com/parrot/parrot
  Commit: 1e5f20eefce263d327173a37681d0f46892d3448
      https://github.com/parrot/parrot/commit/1e5f20eefce263d327173a37681d0f46892d3448
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-05-04 (Fri, 04 May 2012)

  Changed paths:
    M src/pmc/structview.pmc

  Log Message:
  -----------
  avoid invalid unaligned StructView_set_integer_keyed access

clang -faddress-sanitizer found this invalid read access in two scenarios:
1: cptr[8/8] with uint1
2: off-by-one access on multi-byte values


  Commit: a850da66521a18dfcab89fbbbb5c54b24100fbbf
      https://github.com/parrot/parrot/commit/a850da66521a18dfcab89fbbbb5c54b24100fbbf
  Author: Andy Lester <andy at petdance.com>
  Date:   2012-05-04 (Fri, 04 May 2012)

  Changed paths:
    M src/pmc/structview.pmc

  Log Message:
  -----------
  Merge pull request #764 from rurban/master

last found asan bug (I hope)


Compare: https://github.com/parrot/parrot/compare/d3dcc4b...a850da6


More information about the parrot-commits mailing list