Hello community,
here is the log from the commit of package hugin
checked in at Wed Oct 31 00:59:57 CET 2007.
--------
--- hugin/hugin.changes 2007-10-04 15:44:35.000000000 +0200
+++ /mounts/work_src_done/STABLE/hugin/hugin.changes 2007-10-30 11:55:35.000000000 +0100
@@ -1,0 +2,6 @@
+Tue Oct 30 11:54:51 CET 2007 - prusnak@suse.cz
+
+- renamed optim_file.patch to CVE-2007-5200 (after CVE assigned)
+- fixed tempfile creation also in AutoCtrlPointCreator
+
+-------------------------------------------------------------------
Old:
----
hugin-optim_file.patch
New:
----
hugin-CVE-2007-5200.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ hugin.spec ++++++
--- /var/tmp/diff_new_pack.V26198/_old 2007-10-31 00:57:12.000000000 +0100
+++ /var/tmp/diff_new_pack.V26198/_new 2007-10-31 00:57:12.000000000 +0100
@@ -16,7 +16,7 @@
Group: Productivity/Graphics/Bitmap Editors
Summary: Front-End for Panorama Tools
Version: 0.6.99.4
-Release: 37
+Release: 55
%define _version 0.7_beta4
Source: %{name}-%{_version}.tar.bz2
Patch2: hugin-fftw.patch
@@ -24,7 +24,7 @@
Patch64: hugin-lib64.patch
Patch11: hugin-0.5-autoconf.diff
Patch12: hugin-string-compare.patch
-Patch13: hugin-optim_file.patch
+Patch13: hugin-CVE-2007-5200.patch
Url: http://hugin.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: licenses
@@ -113,6 +113,9 @@
%{_datadir}/pixmaps/*.png
%doc %{_mandir}/man?/*
%changelog
+* Tue Oct 30 2007 - prusnak@suse.cz
+- renamed optim_file.patch to CVE-2007-5200 (after CVE assigned)
+- fixed tempfile creation also in AutoCtrlPointCreator
* Thu Oct 04 2007 - prusnak@suse.cz
- totally removed creation of fixed-name file in /tmp from last patch
* Thu Sep 27 2007 - prusnak@suse.cz
++++++ hugin-CVE-2007-5200.patch ++++++
--- src/hugin/AutoCtrlPointCreator.cpp
+++ src/hugin/AutoCtrlPointCreator.cpp
@@ -224,8 +224,7 @@
wxSetWorkingDirectory(apDir);
}
#endif
-
- wxString ptofile(wxT("autopano_result_tempfile.pto"));
+ wxString ptofile = wxFileName::CreateTempFileName(wxT("ap_res"));
autopanoArgs.Replace(wxT("%o"), ptofile);
wxString tmp;
tmp.Printf(wxT("%d"), nFeatures);
@@ -415,7 +414,7 @@
imgNr++;
}
- wxString ptofile(wxT("autopano_result_tempfile"));
+ wxString ptofile = wxFileName::CreateTempFileName(wxT("ap_res"));
autopanoArgs.Replace(wxT("%o"), ptofile);
wxString tmp;
tmp.Printf(wxT("%d"), nFeatures);
--- src/Panorama/PTOptimise.cpp
+++ src/Panorama/PTOptimise.cpp
@@ -36,8 +36,8 @@
#include