[GRASS5] Re: G_fatal
Edzer J. Pebesma
e.pebesma at geog.uu.nl
Mon Apr 23 06:15:18 EDT 2001
Markus Neteler wrote:
> > according to the programmers manual, G_fatal is defined as
> >
> > int G_fatal_error(char *);
> >
> > but according to gisdefs.h, it is
> >
> > int G_fatal_error(char *,...);
The first one will usually require the programmer to sprintf to a
buffer, which easily leads to buffer overflows. The second one could
be implemented much more safely.
--
Edzer
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'
More information about the grass-dev
mailing list