Hi,

I have put together a patch (attached) which fixes all the warnings, except for 
one on which I would need some help. The relevant information is here:

http://oss.oracle.com/pipermail/ocfs2-tools-devel/2011-October/004008.html

It's basically a case where custom printf handlers are registered, and a 
non-litteral format (user supplied, but escaped so as to avoid standard format 
specifiers) is being passed to fprintf like this:

fprintf(stdout, fmt);

Is there any way to inhibit the warning for this specific line? Or will I end 
up having to compile the whole package with -Wno-format-nonliteral ?

Thanks in advance for any pointers,
Jeremy



Attachment: format-security.patch
Description: Binary data

Reply via email to