[parrot/parrot] 31e87f: [ops] protect callmethod from non-PMC-object
GitHub
noreply at github.com
Tue Oct 14 19:25:24 UTC 2014
Branch: refs/heads/smoke-me/null-call-gh1024
Home: https://github.com/parrot/parrot
Commit: 31e87f84fa1e22fbfc375b279aa7dd9ebf8cf573
https://github.com/parrot/parrot/commit/31e87f84fa1e22fbfc375b279aa7dd9ebf8cf573
Author: Reini Urban <rurban at cpanel.net>
Date: 2014-10-14 (Tue, 14 Oct 2014)
Changed paths:
M src/ops/core_ops.c
M src/ops/object.ops
M src/packfile/api.c
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 either with "Sub '' not found" in the pbc fixup
if the empty constant sub is immediate, or with
"Method '' not found for non-object" when the pbc fixup does not
detect the empty Sub object.
t/compilers/imcc/syn/const.t test 41
More information about the parrot-commits
mailing list