[Prev][Next][Index][Thread]

# Patch to LambdaMOO 1.8.0p1

- Date: Tue, 12 Mar 1996 09:57:12 PST
- From:
- Fake-Sender: pavel@parc.xerox.com

    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.

    	Pavel

- Prev: Patch release 1.8.0p2 of the LambdaMOO server
- Next: Patch to LambdaMOO 1.8.0p2
- Index: MOO-cows
- Thread: MOO-cows

Home | Subject Index | Thread Index