[Bug 305901] Re: Intrepid gcc -O2 breaks string appending with sprintf(), due to fortify source patch
Matthias Klose
doko at ubuntu.com
Sun Dec 7 20:18:50 GMT 2008
> You can search a source file for instances of it with this regex:
> pcregrep -M 'sprintf\s*\(\s*([^,]*)\s*,\s*"%s[^"]*"\s*,\s*\1\s*,'
the regexp doesn't search for snprintf, and doesn't look for functions
spanning more than one line.
> I’ll stop filing bugs for now and see what happens with these ones.
the bug reports are ok, but separate reports with a common tag should be
filed instead.
--
Intrepid gcc -O2 breaks string appending with sprintf(), due to fortify source patch
https://bugs.launchpad.net/bugs/305901
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nagios-plugins in ubuntu.
More information about the Ubuntu-server-bugs
mailing list