Branch: Tag:

1999-11-04

1999-11-04 20:25:20 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

bugfix for \0 in %{ %} (sscanf)

Rev: src/opcodes.c:1.65
Rev: src/testsuite.in:1.223

25:   #include "security.h"   #include "bignum.h"    - RCSID("$Id: opcodes.c,v 1.64 1999/11/04 20:04:05 hubbe Exp $"); + RCSID("$Id: opcodes.c,v 1.65 1999/11/04 20:25:18 hubbe Exp $");      void index_no_free(struct svalue *to,struct svalue *what,struct svalue *ind)   {
1040:    long tmp; \    for(e=cnt+1,tmp=1;tmp;e++) \    { \ -  if(!match[e]) \ +  if(e>=match_len) \    { \    error("Missing %%} in format string.\n"); \    break; /* UNREACHED */ \