2013/4/23 Gianfranco Costamagna <[email protected]>

> Hi developers, I write here since I want to enable hardening flags when
> building boinc for debian, and with security enabled I get some ftbfs like
> this one
> cs_account.cpp: In member function ‘int PROJECT::write_account_file()’:
> cs_account.cpp:82:32: error: format not a string literal and no format
> arguments [-Werror=format-security]
> cc1plus: some warnings being treated as errors
>
> do yo plan to make boinc build even with format-security enabled?
>

That's not just an issue of building with hardening flags; it's a real bug.
For example, if a GUI URL contained '%s', it would likely crash the
client. Patch attached.

-- 
Nicolás

Attachment: printf-gui-urls-properly.diff
Description: Binary data

_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to