MOO-cows Mailing List Archive
[Prev][Next][Index][Thread]
Re: Possible SERIOUS bug in alpha6
sysop@calbbs.com writes:
> I had some verb code mysteriously "morph" on me tonight. I had been
> implementing the new {arg,arg,arg}=args; logic in a multitude of verbs...
There is, indeed, quite a serious bug in the implementation of scattering
assignment; in particular:
a) In a !d verb, if there's either too few or too many list elements
for the given list of targets, the server will end up in a very
seriously bogus situation, reading and executing putative `opcodes'
taken from the *middle* of the SCATTER instruction. In short: it
will be trying to execute essentially random instructions, almost
certainly with disastrous results.
b) In any scattering assignment, if the right-hand side evaluates to a
non-list, the server will read putative `list elements' from random
locations in memory.
These bugs are almost certainly the cause of both Kipp's and Brian's problems
with the server.
I am working on a patch for these problems and will post it ASAP. Until then,
I recommend against the use of scattering assignment.
Pavel
References:
Home |
Subject Index |
Thread Index