FTBFS if "-Werror=format-security" flag is used

Florian Weimer fweimer at redhat.com
Fri Dec 6 12:26:42 UTC 2013


On 12/06/2013 12:59 PM, Dhiru Kholia wrote:

> Can you *really* pass a QByteArray object directly to printf (and similar
> functions)?

Yes, as the format string argument, because the user-defined conversion 
comparison operator to const char * kicks in.

-- 
Florian Weimer / Red Hat Product Security Team


More information about the devel mailing list