MOO-cows Mailing List Archive

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

Patch to LambdaMOO 1.8.0p2



This patch fixes a server-crashing bug in the case where you call force_input()
on a non-negative but invalid object number.

In tasks.c, in the function do_command_task(), replace this line:

	    Objid		location = db_object_location(tq->player);

with this:

	    Objid		location = (valid(tq->player)
					    ? db_object_location(tq->player)
					    : NOTHING);

I'm holding off on a 1.8.0p3 release for at least a week, waiting to see if any
more bug reports come in.

	Pavel



Home | Subject Index | Thread Index