[PATCH] Fix gcc buffer overflow warning

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Jan 2 13:35:54 GMT 2008

On Wed, Jan 02, 2008 at 01:51:58PM +0100, Andreas Schneider wrote:
> the SUSE build system failed with due to a possible buffer overflow. The
> source code was compiled with gcc 4.3 and -D_FORTIFY_SOURCE=2. The GCC warning
> is the following:

Am I right with the assumption that this is only a concern
if you set "printing = nt" or "printing = os2"? If this is
the case, I think the better patch would be to remove that
code completely.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20080102/30a1e2c8/attachment.bin

More information about the samba-technical mailing list