← Back to team overview

cuneiform team mailing list archive

[Bug 520867] Re: Build-error with CFLAG "-Werror=format-security"

 

All of these have already been fixed in version 463 as far as I can
tell. Commit 462 only fixed the last one. The others were fixed earlier.

My fixes were the same as yours so if you want to apply your patch
locally against 0.9 release, that is OK.

-- 
Build-error with CFLAG "-Werror=format-security"
https://bugs.launchpad.net/bugs/520867
You received this bug notification because you are a member of Cuneiform
Linux, which is a direct subscriber.

Status in Linux port of Cuneiform: Fix Committed

Bug description:
As already mentioned in an old bug (#362224, comment #16), cuneiform has issues with the CFLAG mentioned above which is used by default with Mandriva's %cmake-macro.

Setting this CFLAG leads in several build-errors ("format not a string literal and no format arguments") and the build breaks.

If I disable this CFLAG the source does compile fine.
But this could also be a security issue then, because this CFLAG is used by default to prevent possible format strings-attacks.





References