Reported when compining with -Wformat-error. The patch below fixes this.
--- a/Source/MediaStorageAndFileFormat/gdcmJPEG2000Codec.cxx
+++ b/Source/MediaStorageAndFileFormat/gdcmJPEG2000Codec.cxx
@@ -302,7 +302,7 @@
else
#endif
{
- fprintf( stderr, msg );
+ fprintf( stderr, "%s", msg );
}
}
[release 457f802] Fprintf format sting is not safe. Bug #401
Author: Gert Wollny gw.fossdev@gmail.com
1 file changed, 1 insertion(+), 1 deletion(-)
Last edit: Mathieu Malaterre 2016-08-22