TIP: Click on subject to list as thread! ANSI
echo: mbse
to: Scott Street
from: Robert Wolfe
date: 2010-06-20 12:14:44
subject: Re: Ubunto 10.04 Issues

Scott Street wrote to Robert Wolfe:

SS> RW> ====== Backtrace: =========
SS> RW> /lib/tls/i686/cmov/libc.so.6(__snprintf_chk+0x34)[0x77ead]
SS> RW>     -mbsebbs[0x807838a]
SS> 
SS> Hi Rob,
SS> 
SS> This is the error I have been chasing for about two weeks now.  Please 
SS> remove
SS> the -O (or -O2 if you enabled optimize during configure stage).
SS> 
SS> You'll need to "make clean" then "configure".
SS> 
SS> I also remove "examples" from the build chain in
Makefile.global, as well 
SS> as
SS> change the CFLAGS slightly.  In your case, removing the -O (-O2) will 
SS> resolve
SS> the buffer overflow error.  
SS> 
SS> From my experimentation, it appears this is a side-effect of GCC inlineing
SS> snprintf which with "-Wall" shows up as a compile time warning that 
SS> snprintf
SS> will always overflow the buffer.
SS> 
SS> Good luck.

Cool, I will have to give this a try.  Thanks!


    Greetings, Robert Wolfe

... An Elephant;  A Mouse built to government specifications.

--- MBSE BBS v0.95.6 (GNU/Linux-x86_64)
* Origin: Omicron Theta * Grand Island, NY * http://www.mbse.us (1:261/20)
SEEN-BY: 3/0 633/267 640/954 712/0 313 550 848
@PATH: 261/20 38 712/848 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.