Branch: Tag:

2010-07-27

2010-07-27 16:46:06 by Martin Stjernholm <mast@lysator.liu.se>

Fixed several cases of unsafe use of get_all_args for optional args.

Rev: src/builtin_functions.c:1.704
Rev: src/cpp.c:1.178
Rev: src/modules/Gettext/gettext.c:1.28
Rev: src/modules/Image/font.c:1.92
Rev: src/modules/_Roxen/roxen.c:1.56
Rev: src/modules/files/socket.c:1.112
Rev: src/modules/files/udp.c:1.84
Rev: src/post_modules/GTK2/source/gnomecanvas.pre:1.8
Rev: src/post_modules/GTK2/source/gtksourceiter.pre:1.7
Rev: src/post_modules/GTK2/source/gtktextiter.pre:1.14

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: roxen.c,v 1.55 2009/07/29 15:48:47 nilsson Exp $ + || $Id: roxen.c,v 1.56 2010/07/27 16:46:05 mast Exp $   */      #define NO_PIKE_SHORTHAND
274:    THP->headers = NULL;    }    +  THP->mode = 0;    get_all_args("create",args,".%i",&THP->mode);       THP->headers = xalloc( 8192 );