server panic using force_input() in 1.8.0p1
Richard Godard (rgodard@divsun.unige.ch)
Wed, 20 Mar 1996 08:47:26 PST
>This just happened to me as a wizard on a moo running under 1.8.0p1:
>
> ;force_input(#10000,"hello")
> => 0
> *** Shutting down: server panic ***
Same bug in 1.8.0p2
Simple in-db patch:
@prop $server_options.protect_force_input 1
@program #0:bf_force_input
if (!valid(args[1]))
return raise(E_INVARG);
else
set_task_perms(caller_perms());
return force_input(@args);
endif
.
Hope this help.
Richard
---
"640K ought to be enough for anybody."
-- Bill Gates, 1981