[Pkg-vsquare-changes] r286 - in vdetelweb/trunk/debian: . patches

Ludovico Gardenghi garden at alioth.debian.org
Tue Jan 24 13:44:32 UTC 2012


Author: garden
Date: 2012-01-24 13:44:32 +0000 (Tue, 24 Jan 2012)
New Revision: 286

Added:
   vdetelweb/trunk/debian/patches/
   vdetelweb/trunk/debian/patches/series
   vdetelweb/trunk/debian/patches/svn_r538_fix_msg_length.patch
Modified:
   vdetelweb/trunk/debian/changelog
Log:
vdetelweb: add patch from upstream svn r538

Modified: vdetelweb/trunk/debian/changelog
===================================================================
--- vdetelweb/trunk/debian/changelog	2012-01-20 21:14:45 UTC (rev 285)
+++ vdetelweb/trunk/debian/changelog	2012-01-24 13:44:32 UTC (rev 286)
@@ -3,13 +3,14 @@
   * New upstream release
     - Remove patch 01_sparc_ftbfs_signals.diff
     - Remove patch 02_include_limits_h.diff
-    - Remove patches/ and simple-patchsys.mk
     - Add dependency on libmhash-dev
+  * Switch to quilt
   * Remove useless dirs file
   * Add examples/vdetelwebrc.gz
   * Bump Standards-Version to 3.9.2: XXX
+  * Add patch svn_r538_fix_msg_length.patch: apply bugfix from upstream svn
 
- -- Ludovico Gardenghi <garden at debian.org>  Thu, 19 Jan 2012 18:32:41 +0100
+ -- Ludovico Gardenghi <garden at debian.org>  Tue, 24 Jan 2012 14:43:15 +0100
 
 vdetelweb (1.1b-3) unstable; urgency=low
 

Added: vdetelweb/trunk/debian/patches/series
===================================================================
--- vdetelweb/trunk/debian/patches/series	                        (rev 0)
+++ vdetelweb/trunk/debian/patches/series	2012-01-24 13:44:32 UTC (rev 286)
@@ -0,0 +1 @@
+svn_r538_fix_msg_length.patch

Added: vdetelweb/trunk/debian/patches/svn_r538_fix_msg_length.patch
===================================================================
--- vdetelweb/trunk/debian/patches/svn_r538_fix_msg_length.patch	                        (rev 0)
+++ vdetelweb/trunk/debian/patches/svn_r538_fix_msg_length.patch	2012-01-24 13:44:32 UTC (rev 286)
@@ -0,0 +1,40 @@
+Index: vdetelweb-1.2.1/web.c
+===================================================================
+--- vdetelweb-1.2.1.orig/web.c	2012-01-24 14:39:31.065609358 +0100
++++ vdetelweb-1.2.1/web.c	2012-01-24 14:41:00.788933112 +0100
+@@ -498,12 +498,12 @@
+ 	if ((tail=strstr(path,".html")) != NULL)
+ 		*tail=0;
+ 	if (*path==0 || ((this=vde_findmenu(menuhead,path)) != NULL)) {
+-		lwip_write(fd,okmsg,sizeof(okmsg));
++		lwip_write(fd,okmsg,sizeof(okmsg)-1);
+ 		lwip_printf(fd,
+ 				"<HTML><HEAD>\r\n"
+ 				"<TITLE>%s %s</TITLE>\r\n",
+ 				prompt, (*path==0)?"Home Page":path);
+-		lwip_write(fd,css,sizeof(css));
++		lwip_write(fd,css,sizeof(css)-1);
+ 		lwip_printf(fd,
+ 				"</HEAD><BODY class=core>\r\n"
+ 				"<H1>%s %s</H1>\r\n"
+@@ -536,7 +536,7 @@
+ 				"<hr>VDE 2.0 WEB MGMT INTERFACE\r\n"
+ 				"</BODY></HTML>\r\n");
+ 	} else
+-		lwip_write(fd,errmsg,sizeof(errmsg));
++		lwip_write(fd,errmsg,sizeof(errmsg)-1);
+ }
+ 
+ static char authmsg[]= 
+@@ -600,9 +600,9 @@
+ 	} else if (st->linebuf[0]=='\n' || st->linebuf[0]=='\r') {
+ 		switch (st->status) {
+ 			case WEB_IDENTIFY:
+-				lwip_write(fd,authmsg,sizeof(authmsg));
++				lwip_write(fd,authmsg,sizeof(authmsg)-1);
+ 				lwip_write(fd,prompt,strlen(prompt));
+-				lwip_write(fd,authmsg2,sizeof(authmsg2));
++				lwip_write(fd,authmsg2,sizeof(authmsg2)-1);
+ 				return 1;
+ 				break;
+ 			case WEB_AUTHORIZED:




More information about the Pkg-vsquare-changes mailing list