#71 ✓resolved
teuf

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

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.

New-ticket Create new ticket

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

Pages