Unix Technical Forum

Re: sprintf warning in libstdc++

This is a discussion on Re: sprintf warning in libstdc++ within the lucky.openbsd.tech forums, part of the OpenBSD category; --> Please tell the postfix author; telling us does not get this fixed. > At the risk of being flamed...I ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > lucky.openbsd.tech

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-22-2008, 12:19 PM
Theo de Raadt
 
Posts: n/a
Default Re: sprintf warning in libstdc++

Please tell the postfix author; telling us does not get this fixed.

> At the risk of being flamed...I noticed that postfix also reveals this
> warning as well...
>
>
> <snip>
> [src/scache]
> gcc -DUSE_TLS -I/usr/include/openssl -DUSE_SASL_AUTH -I/usr/include
> -I/usr/local/include/sasl -DHAS_PCRE -I/usr/local/include
> -I/usr/local/BerkeleyDB.4.3/include -DSNAPSHOT -O2 -I. -I../../include
> -DOPENBSD3 -c scache.c
> gcc -DUSE_TLS -I/usr/include/openssl -DUSE_SASL_AUTH -I/usr/include
> -I/usr/local/include/sasl -DHAS_PCRE -I/usr/local/include
> -I/usr/local/BerkeleyDB.4.3/include -DSNAPSHOT -O2 -I. -I../../include
> -DOPENBSD3 -o scache scache.o ../../lib/libmaster.a ../../lib/libglobal.a
> ../../lib/libutil.a -L/usr/local/lib -R/usr/local/lib -lsasl2 -L/usr/lib
> -R/usr/lib -lssl -lcrypto -L/usr/local/lib -lpcre
> -L/usr/local/BerkeleyDB.4.3/lib -R/usr/local/BerkeleyDB.4.3/lib -ldb
> ../../lib/libglobal.a(mail_conf_int.o)(.text+0x228): In function
> `set_mail_conf_int':
> : warning: sprintf() is often misused, please use snprintf()
>
> I had thought all along that this was a GCC/GNU issue and nothing more.
> It compiles fine and runs fine, albeit these messages.
>
>
>
>
>
>
> --
> J.D. Bronson
> Aurora Health Care // Information Services // Milwaukee, WI USA
> Office: 414.978.8282 // Email: jd@aurora.org // Pager: 414.314.8282


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:56 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com