[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a
Maximiliano Curia
maxy at moszumanska.debian.org
Thu Jul 13 17:40:46 UTC 2017
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=948bbc5
The following commit has been merged in the master branch:
commit 948bbc522313f299e1f6eefd8b8792516c6eaaab
Author: Andreas Huggel <ahuggel at gmx.net>
Date: Wed Sep 16 11:27:29 2009 +0000
#645: Added check for empty GPS coordinate value to prevent out-of-range exception.
---
src/convert.cpp | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/convert.cpp b/src/convert.cpp
index 952bd19..1785598 100644
--- a/src/convert.cpp
+++ b/src/convert.cpp
@@ -1006,6 +1006,12 @@ namespace Exiv2 {
#endif
return;
}
+ if (value.empty()) {
+#ifndef SUPPRESS_WARNINGS
+ std::cerr << "Warning: " << from << " is empty
";
+#endif
+ return;
+ }
double deg, min, sec;
char ref, sep1, sep2;
--
exiv2 packaging
More information about the pkg-kde-commits
mailing list