Re: (yet) more buffer paranoia - Mailing list pgsql-patches

From Tom Lane
Subject Re: (yet) more buffer paranoia
Date
Msg-id 25446.1030163567@sss.pgh.pa.us
Whole thread Raw
In response to (yet) more buffer paranoia  (Neil Conway <neilc@samurai.com>)
Responses Re: (yet) more buffer paranoia
Re: (yet) more buffer paranoia
List pgsql-patches
Neil Conway <neilc@samurai.com> writes:
> This patches replaces a few more usages of strcpy() and sprintf() when
> copying into a fixed-size buffer (in this case, a buffer of
> NAMEDATALEN bytes). AFAICT nothing to worry about here, but worth
> fixing anyway...

I'm not that eager to replace every single sprintf with snprintf.
Most of these are obviously safe and do not need the clutter and
extra cycles...

            regards, tom lane

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: (yet) more buffer paranoia
Next
From: Bruce Momjian
Date:
Subject: Re: (yet) more buffer paranoia