[parrot/parrot] df12f3: api_string_export_wchar allocated one too less

GitHub noreply at github.com
Fri May 4 15:05:02 UTC 2012


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

  Changed paths:
    M src/embed/strings.c

  Log Message:
  -----------
  api_string_export_wchar allocated one too less

clang -faddress-sanitizer detected this heap-buffer-overflow in
t/src/embed/strings.t, allocated 173 bytes only, writing to cstr[173].


  Commit: 8bd397ab95db755927e41e5b2a15b9e84441288f
      https://github.com/parrot/parrot/commit/8bd397ab95db755927e41e5b2a15b9e84441288f
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-05-04 (Fri, 04 May 2012)

  Changed paths:
    M include/parrot/compiler.h

  Log Message:
  -----------
  avoid PARROT_NO_ADDRESS_SAFETY_ANALYSIS redefinition warnings


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

  Changed paths:
    M include/parrot/compiler.h
    M src/embed/strings.c

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

api_string_export_wchar + PARROT_NO_ADDRESS_SAFETY_ANALYSIS redef


Compare: https://github.com/parrot/parrot/compare/5810fe5...ca27ffa


More information about the parrot-commits mailing list