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: colors.c,v 1.66 2003/09/10 15:21:58 mast Exp $ + || $Id: colors.c,v 1.67 2003/10/13 17:39:08 grubba Exp $   */      /*
192:      #include "global.h"    - RCSID("$Id: colors.c,v 1.66 2003/09/10 15:21:58 mast Exp $"); + RCSID("$Id: colors.c,v 1.67 2003/10/13 17:39:08 grubba Exp $");      #include "image_machine.h"   
585:   static void image_color_bits( INT32 args )   {    INT_TYPE rb, gb, bb, rs, gs, bs; -  get_all_args( "bits", args, "%d%d%d%d%d%d", &rb,&gb,&bb, &rs, &gs, &bs ); +  get_all_args( "bits", args, "%i%i%i%i%i%i", &rb,&gb,&bb, &rs, &gs, &bs );    pop_n_elems( args );