[parrot/parrot] a39cf0: [ops] protect callmethod from non-PMC-object

GitHub noreply at github.com
Wed Oct 15 07:43:19 UTC 2014


  Branch: refs/heads/smoke-me/null-call-gh1024
  Home:   https://github.com/parrot/parrot
  Commit: a39cf0bf8df8a1da82a36fd4f27a0f68ca67123c
      https://github.com/parrot/parrot/commit/a39cf0bf8df8a1da82a36fd4f27a0f68ca67123c
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-10-15 (Wed, 15 Oct 2014)

  Changed paths:
    M src/ops/core_ops.c
    M src/ops/object.ops
    M t/compilers/imcc/syn/const.t

  Log Message:
  -----------
  [ops] protect callmethod from non-PMC-object

fixes the SEGV in GH #1024 when calling a non-existent Sub.
Fails now with "Method 'new' not found for non-object"
t/compilers/imcc/syn/const.t test 41




More information about the parrot-commits mailing list