Re: Fix ncl build with -Werror=format-security

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Mon Feb 03 2014 - 12:15:14 MST

Hi Orion,

Thanks for providing this information. I've created a ticket for this and hopefully we can get these patches in for V6.2.0.

--Mary

On Feb 1, 2014, at 9:34 AM, Orion Poplawski wrote:

> The attached patch fixes building ncl 6.1.2 with
> -Werror=format-security, which is now standard in Fedora. Note that
> replacing many of the fprintf()s with fputs() (and sprintf with strncpy)
> would be more efficient, though probably not an issue for this code.
>
> To understand why it is important to fix this, please see
> https://fedoraproject.org/wiki/Format-Security-FAQ page.
>
> --
> Orion Poplawski
> Technical Manager 303-415-9701 x222
> NWRA/CoRA Division FAX: 303-415-9702
> 3380 Mitchell Lane orion@cora.nwra.com
> Boulder, CO 80301 http://www.cora.nwra.com
> <ncl-format.patch>_______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Feb 3 12:15:33 2014

This archive was generated by hypermail 2.1.8 : Fri Feb 07 2014 - 16:39:11 MST