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: layers.c,v 1.88 2003/09/01 16:39:45 nilsson Exp $ + || $Id: layers.c,v 1.89 2003/10/13 17:39:08 grubba Exp $   */      /*
201:      #include <math.h> /* floor */    - RCSID("$Id: layers.c,v 1.88 2003/09/01 16:39:45 nilsson Exp $"); + RCSID("$Id: layers.c,v 1.89 2003/10/13 17:39:08 grubba Exp $");      #include "image_machine.h"   
3192:    INT_TYPE l=1,r=1,t=1,b=1;       if (args>3) -  get_all_args("find_autocrop",args,"%d%d%d%d",&l,&r,&t,&b); +  get_all_args("find_autocrop",args,"%i%i%i%i",&l,&r,&t,&b);       if (!THIS->tiled) {    if (THIS->alpha)