MOO-cows Mailing List Archive


Patch to LambdaMOO 1.8.0p1

This simple patch fixes a bug in set_verb_code() where it failed to check that
the last element of the CODE argument was, in fact, a string.  Without this
patch, it is possible to panic the server by passing a CODE argument of, for
example, {0}.

To fix this, change this line from bf_set_verb_code() in verbs.c:
	    for (i = 1; i < code.v.list[0].v.num; i++)
to this:
	    for (i = 1; i <= code.v.list[0].v.num; i++)

The only difference is the change of `<' to `<='.

I am trying to hold off on a 1.8.0p2 release until some more time goes by, to
try to minimize the number of patch releases.


Home | Subject Index | Thread Index