Branch: Tag:

2003-10-13

2003-10-13 17:48:58 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Audited use of get_all_args() with respect to %d and %i.

Rev: src/modules/Gettext/gettext.c:1.18
Rev: src/modules/HTTPLoop/accept_and_parse.c:1.34
Rev: src/modules/HTTPLoop/requestobject.c:1.28
Rev: src/modules/Image/colors.c:1.67
Rev: src/modules/Image/encodings/psd.c:1.39
Rev: src/modules/Image/encodings/xcf.c:1.44
Rev: src/modules/Image/image.c:1.205
Rev: src/modules/Image/layers.c:1.89
Rev: src/modules/Oracle/oracle.c:1.79
Rev: src/modules/SANE/sane.c:1.18
Rev: src/modules/_Image_FreeType/freetype.c:1.18
Rev: src/modules/_Regexp_PCRE/pcre_glue.cmod:1.15
Rev: src/modules/files/sendfile.c:1.62
Rev: src/modules/files/termios.c:1.21
Rev: src/modules/system/nt.c:1.61
Rev: src/modules/system/passwords.c:1.43
Rev: src/modules/system/system.c:1.161
Rev: src/signal_handler.c:1.278

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: xcf.c,v 1.43 2002/10/21 17:06:15 marcus Exp $ + || $Id: xcf.c,v 1.44 2003/10/13 17:39:08 grubba Exp $   */      #include "global.h" - RCSID("$Id: xcf.c,v 1.43 2002/10/21 17:06:15 marcus Exp $"); + RCSID("$Id: xcf.c,v 1.44 2003/10/13 17:39:08 grubba Exp $");      #include "image_machine.h"   
1190:    struct array *tiles;    struct image *i=NULL, *a=NULL;    struct neo_colortable *cmap = NULL; -  int rxs, rys; +  INT32 rxs, rys;    rgb_group *colortable=NULL;    rgb_group pix = {0,0,0};    rgb_group apix= {255,255,255}; /* avoid may use uninitialized warnings */       INT_TYPE rle, bpp, span, shrink;    unsigned int l, x=0, y=0, cx, cy; -  get_all_args( "_decode_tiles", args, "%o%O%a%i%i%O%d%d%d", +  get_all_args( "_decode_tiles", args, "%o%O%a%i%i%O%i%d%d",    &io, &ao, &tiles, &rle, &bpp, &cmapo, &shrink, &rxs, &rys);