MOO-cows Mailing List Archive

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

Patch to LambdaMOO-1.8.0p3



The following patch fixes a potentially server-crashing bug in the MOO-code
parser.  In the file `parser.y', replace these lines:

      | '$'
              {
                  if (dollars_ok)
                      $$ = alloc_expr(EXPR_LENGTH);
                  else
                      yyerror("Illegal context for `$' expression.");
              }

with these:

      | '$'
              {
                  if (!dollars_ok)
                      yyerror("Illegal context for `$' expression.");
                  $$ = alloc_expr(EXPR_LENGTH);
              }

This patch will be in release 1.8.0p4, whenever that occurs.  As usual, I will
wait for a while to see if more patches can be folded into the same release in
a timely fashion.

Thanks to Brack <slayer@kaiwan.com> for reporting this bug.

	Pavel



Home | Subject Index | Thread Index