MOO-cows Mailing List Archive
Re: Upgrading LambdaCore to 1.8.0
Date: Thu, 9 May 1996 08:29:21 PDT
Content-Type: text/plain; charset="us-ascii"
At 08:12 AM 5/9/96 PDT, Guilherme Ramos wrote:
>Brack (email@example.com) suggests:
>@egrepcore verb_%(info%|args%|code%)([^),]+, tostr(
>*get rid of the tostr()s around any such variables found.*
>Then I suppose this line (i.e.,):
>#124:do_breakdown [Adamastor (#2)]: vname = verb_info(dobj, tostr(x));
>Should turn into:
>#124:do_breakdown [Adamastor (#2)]: vname = verb_info(dobj);
>Anybody think is it secure?
just get rid of the tostr().. so it should be
vname = verb_info(dobj, x)
also make sure x is starting at 1 instead of at 0.
it should be more secure referring to a verb as a number in case someone has
a verb named "0","1" etc on an object.
...This is not a signature.
Subject Index |