Comment 7 for bug 305901

Revision history for this message
Matthias Klose (doko) wrote :

> 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.