> 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. -- Ubuntu-server-bugs mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
