[SCM] liblas branch, release1.2, updated. debian/1.2.1-1-12-g35fd88e
Francesco Paolo Lovergine
frankie at debian.org
Tue Oct 25 14:29:24 UTC 2011
The following commit has been merged in the release1.2 branch:
commit 35fd88e65c9b34a3eea73a93e104ebcd2fb2bbef
Author: Francesco Paolo Lovergine <frankie at debian.org>
Date: Tue Oct 25 16:21:42 2011 +0200
Added required patch.
diff --git a/debian/patches/format-security b/debian/patches/format-security
new file mode 100644
index 0000000..dc77d3b
--- /dev/null
+++ b/debian/patches/format-security
@@ -0,0 +1,28 @@
+Index: liblas/apps/las2txt.c
+===================================================================
+--- liblas.orig/apps/las2txt.c 2011-05-25 17:38:36.000000000 +0200
++++ liblas/apps/las2txt.c 2011-10-25 16:18:34.000000000 +0200
+@@ -487,19 +487,19 @@
+ {
+ /* // the x coordinate */
+ case 'x':
+- lidardouble2string(printstring, LASPoint_GetX(p)); fprintf(file_out, printstring);
++ lidardouble2string(printstring, LASPoint_GetX(p)); fprintf(file_out, "%s", printstring);
+ break;
+ /* // the y coordinate */
+ case 'y':
+- lidardouble2string(printstring, LASPoint_GetY(p)); fprintf(file_out, printstring);
++ lidardouble2string(printstring, LASPoint_GetY(p)); fprintf(file_out, "%s", printstring);
+ break;
+ /* // the z coordinate */
+ case 'z':
+- lidardouble2string(printstring, LASPoint_GetZ(p)); fprintf(file_out, printstring);
++ lidardouble2string(printstring, LASPoint_GetZ(p)); fprintf(file_out, "%s", printstring);
+ break;
+ /* // the gps-time */
+ case 't':
+- lidardouble2string(printstring,LASPoint_GetTime(p)); fprintf(file_out, printstring);
++ lidardouble2string(printstring,LASPoint_GetTime(p)); fprintf(file_out, "%s", printstring);
+ break;
+ /* // the intensity */
+ case 'i':
--
ASPRS LiDAR data translation library
More information about the Pkg-grass-devel
mailing list