[Debian-med-packaging] Bug#648121: SeaView fails to build with hardening options.

Andreas Tille tille at debian.org
Wed Nov 9 08:51:02 UTC 2011


[CC to the list because I expect other packages with the same problem]

On Wed, Nov 09, 2011 at 05:04:38PM +0900, Charles Plessy wrote:
 
> Thanks a lot for the quick patch.

This kind of patches are quite simple.  If you find something like

   [f]printf([stream,] string);

You can replace it by either

   [f]printf([stream,] "%s", string);

or the bit(!) more performant

   [f]puts(string [, stream]);

(mind the - stupid - reordering that the output stream is in the
 end when using fputs).

In seaview some obviosely printf derived functions were used (I did not
know them) but the principle is always the same.

Kind regards

        Andreas.

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list