[erlang-bugs] ei_reg_getpval can't return pointers?

Matt Stancliff <>
Wed Apr 15 08:29:32 CEST 2009


OTP Bug-Fixing Guys,

In R12B-5 and R13A lib/erl_interface/src/registry/reg_getp.c looks  
like it needs to have EI_BIN instead of EI_STR in the validation check.

I am unable to make ei_reg_getpval return non-null, but I can manually  
get my stored object from ei_hash_lookup then take its val.p.


-Matt
-- 
Matt Stancliff                    San Jose, CA
AIM: seijimr              iPhone: 678-591-9337
"The best way to predict the future is to invent it." --Alan Kay




More information about the erlang-bugs mailing list