Branch: Tag:

1999-06-19

1999-06-19 09:55:58 by Mirar (Pontus Hagland) <pike@sort.mirar.org>

bugfix: check for end of indata when scanning %{ %} arrays.

Rev: src/opcodes.c:1.38

23:   #include "module_support.h"   #include "security.h"    - RCSID("$Id: opcodes.c,v 1.37 1999/04/15 04:08:15 hubbe Exp $"); + RCSID("$Id: opcodes.c,v 1.38 1999/06/19 09:55:58 mirar Exp $");      void index_no_free(struct svalue *to,struct svalue *what,struct svalue *ind)   {
796:    sval.u.array=allocate_array(0);    SET_ONERROR(err, do_free_array, sval.u.array);    -  while(1) +  while(input_len-eye)    {    int yes;    struct svalue *save_sp=sp;