Holger Freyther <holger <at> freyther.de> writes:

> 
> Good Morning,

Good Morning,

building the old 0.8.3.1 gives me some issues with libtool but I
patched the debian package with:

Index: libdbi-drivers-0.8.3-1+s/drivers/sqlite3/dbd_sqlite3.c
===================================================================
--- libdbi-drivers-0.8.3-1+s.orig/drivers/sqlite3/dbd_sqlite3.c 2011-05-18 
04:31:44.000000000 +0200
+++ libdbi-drivers-0.8.3-1+s/drivers/sqlite3/dbd_sqlite3.c      2014-03-08 
09:58:57.560797455 +0100
@@ -502,7 +502,8 @@
   unsigned char *temp;
   size_t len;
 
-  if ((temp = malloc(from_length*2)) == NULL) {
+  /* Assume all chars from orig are expanded plus an extra two escape chars 
and a terminating zero*/
+  if ((temp = malloc(2*from_length+1+2)) == NULL) {
     return 0;
   }
 



------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Libdbi-drivers-devel mailing list
Libdbi-drivers-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libdbi-drivers-devel

Reply via email to