[Pkg-citadel-commit] r83 - in webcit/trunk/debian: . patches
dothebart-guest at alioth.debian.org
dothebart-guest at alioth.debian.org
Sat May 10 10:05:55 UTC 2008
Author: dothebart-guest
Date: 2008-05-10 10:05:53 +0000 (Sat, 10 May 2008)
New Revision: 83
Added:
webcit/trunk/debian/patches/SVN_R6224_fix_urlview.diff
Modified:
webcit/trunk/debian/changelog
webcit/trunk/debian/patches/series
Log:
* add upstream bugfix
Modified: webcit/trunk/debian/changelog
===================================================================
--- webcit/trunk/debian/changelog 2008-05-10 09:02:21 UTC (rev 82)
+++ webcit/trunk/debian/changelog 2008-05-10 10:05:53 UTC (rev 83)
@@ -1,5 +1,9 @@
webcit (7.35-2) unstable; urgency=low
+ [ Wilfried Goesgens ]
+ * Added upstream bugfix in URL handler
+
+ [ Michael Meskes ]
* Added Italian translation, closes: #477716
* Added Russian translation, closes: #479151
* Added Czech translation, closes: #480199
Added: webcit/trunk/debian/patches/SVN_R6224_fix_urlview.diff
===================================================================
--- webcit/trunk/debian/patches/SVN_R6224_fix_urlview.diff (rev 0)
+++ webcit/trunk/debian/patches/SVN_R6224_fix_urlview.diff 2008-05-10 10:05:53 UTC (rev 83)
@@ -0,0 +1,22 @@
+Index: messages.c
+===================================================================
+--- messages.c (revision 6223)
++++ messages.c (revision 6224)
+@@ -400,12 +400,14 @@
+ }
+
+ TrailerLen = len - (end - start);
+- memcpy(outbuf + Offset + outpos, end, TrailerLen);
+- if ( Offset + TrailerLen + outpos > bufsize) {
++ if (TrailerLen > 0)
++ memcpy(outbuf + Offset + outpos, end, TrailerLen);
++ if (Offset + outpos + TrailerLen > bufsize) {
+ lprintf(1, "URL: content longer than buffer!");
+ return;
+ }
+- memcpy (buf, outbuf, Offset + TrailerLen + outpos);
++ memcpy (buf, outbuf, Offset + outpos + TrailerLen);
++ *(buf + Offset + outpos + TrailerLen) = '\0';
+ }
+
+
Modified: webcit/trunk/debian/patches/series
===================================================================
--- webcit/trunk/debian/patches/series 2008-05-10 09:02:21 UTC (rev 82)
+++ webcit/trunk/debian/patches/series 2008-05-10 10:05:53 UTC (rev 83)
@@ -1 +1 @@
-
+SVN_R6224_fix_urlview.diff
More information about the Pkg-citadel-commit
mailing list