libiphone: fix -Werror=format-security compilation
Reported by teuf | August 12th, 2009 @ 02:32 PM
Mandriva builds its packages with -Werror=format-security to make sure arguments to printf-like functions look sane. In particular, it will complain of constructs like printf(s) when s can't be resolved as a compile-time constant (which can be dangerous since 's' could contain printf formatters). There was a compile failure in libiphone/tools/ because of this flag, the attached patch fixes this.
Comments and changes to this ticket
-
Matt Colyer September 12th, 2009 @ 05:18 PM
- State changed from new to resolved
(from [0d95da6ac1fe707f4a93c5d47f4e55b89023251d]) Fix -Werror=format-security failure in libiphone/tools/ [#71 state:resolved] http://github.com/MattColyer/libiphone/commit/0d95da6ac1fe707f4a93c...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A project around supporting the iPhone in Linux.
See http://libimobiledevice.org
People watching this ticket
Attachments
Referenced by
- 71 libiphone: fix -Werror=format-security compilation (from [0d95da6ac1fe707f4a93c5d47f4e55b89023251d]) Fix -We...