Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37499791
en ru br
ALT Linux repos
S:2021.10-alt2

Group :: Graphics
RPM: meshlab

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: meshlab-2016.12-format-security.patch
Download


diff -up meshlab-2016.12/src/meshlabplugins/edit_arc3D/edit_arc3D.cpp.format-security meshlab-2016.12/src/meshlabplugins/edit_arc3D/edit_arc3D.cpp
--- meshlab-2016.12/src/meshlabplugins/edit_arc3D/edit_arc3D.cpp.format-security	2016-12-23 05:24:59.000000000 -0500
+++ meshlab-2016.12/src/meshlabplugins/edit_arc3D/edit_arc3D.cpp	2017-07-20 17:23:57.497938183 -0400
@@ -309,7 +309,7 @@ void EditArc3DPlugin::exportShotsToRaste
                 QString suffix = "." + qfInfo.completeSuffix();
                 QString path = qfInfo.absoluteFilePath().remove(suffix);
                 path.append("Undist" + suffix);
-                qDebug(path.toLatin1());
+                qDebug("%s", path.toLatin1().constData());
 
                 QImage undistImg(originalImg.width(),originalImg.height(),originalImg.format());
                 undistImg.fill(qRgba(0,0,0,255));
diff -up meshlab-2016.12/src/meshlabplugins/filter_screened_poisson/filter_screened_poisson.cpp.format-security meshlab-2016.12/src/meshlabplugins/filter_screened_poisson/filter_screened_poisson.cpp
--- meshlab-2016.12/src/meshlabplugins/filter_screened_poisson/filter_screened_poisson.cpp.format-security	2017-07-20 17:36:45.458461335 -0400
+++ meshlab-2016.12/src/meshlabplugins/filter_screened_poisson/filter_screened_poisson.cpp	2017-07-20 17:37:35.264284723 -0400
@@ -54,7 +54,7 @@ void DumpOutput( const char* format , ..
   vsprintf(buf,format,marker);
   va_end( marker );
 
-  qDebug(buf);
+  qDebug("%s", buf);
  }
 void DumpOutput2(std::vector< char* >& comments  , const char* format , ... )
 {
@@ -64,7 +64,7 @@ void DumpOutput2(std::vector< char* >& c
 
   vsprintf(buf,format,marker);
   va_end( marker );
-  qDebug(buf);
+  qDebug("%s", buf);
 }
 
 
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin