Skip to contentSkip to conversation

thttpd: refresh local patches to avoid fuzz warnings

PATCH New Denys Dmytriyenko 1 participant 1 message Apr 5, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 thttpd: refresh local patches to avoid fuzz warnings

---
 .../thttpd/thttpd-2.28/htpasswd_getline.diff       | 20 ++++--
 .../thttpd/thttpd-2.28/htpasswd_shared.diff        | 16 ++++-
 .../thttpd/thttpd-2.28/install.patch               | 82 +++++++++++++---------
 3 files changed, 77 insertions(+), 41 deletions(-)
meta-arago-extras/recipes-extended/thttpd/thttpd-2.28/htpasswd_getline.diff +15 -5
index 7edd313..0a0ec32 100644
@@ -1,6 +1,16 @@
---- thttpd-2.25b/extras/htpasswd.c.old	2010-04-28 17:23:40.000000000 +0100
-+++ thttpd-2.25b/extras/htpasswd.c	2010-04-28 17:24:00.000000000 +0100
-@@ -49,7 +49,7 @@
+From f12ba2a4e43e764fb0d352e5423e30de192dedef Mon Sep 17 00:00:00 2001
+From: "Franklin S. Cooper Jr" <[email protected]>
+Date: Fri, 7 Sep 2012 18:36:24 -0500
+
+---
+ extras/htpasswd.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/extras/htpasswd.c b/extras/htpasswd.c
+index 31ac769..dfe4c15 100644
+--- a/extras/htpasswd.c
++++ b/extras/htpasswd.c
+@@ -47,7 +47,7 @@ static void getword(char *word, char *line, char stop) {
      while((line[y++] = line[x++]));
  }
  
@@ -9,8 +19,8 @@
      int i=0;
  
      while(1) {
-@@ -189,7 +189,7 @@
-     strcpy(user,argv[2]);
+@@ -188,7 +188,7 @@ int main(int argc, char *argv[]) {
+     user[sizeof(user)-1] = '\0';
  
      found = 0;
 -    while(!(my_getline(line,MAX_STRING_LEN,f))) {
meta-arago-extras/recipes-extended/thttpd/thttpd-2.28/htpasswd_shared.diff +13 -3
index 7ee2cd2..8d5a4f9 100644
@@ -1,6 +1,16 @@
---- thttpd-2.25b/extras/Makefile.in.orig	2007-03-17 22:30:47.356393000 +0100
-+++ thttpd-2.25b/extras/Makefile.in	2007-03-17 22:31:34.566393000 +0100
-@@ -36,7 +36,7 @@
+From f49b3d41e74f953825f234258c1a33a5e3b914fc Mon Sep 17 00:00:00 2001
+From: "Franklin S. Cooper Jr" <[email protected]>
+Date: Fri, 7 Sep 2012 18:36:24 -0500
+
+---
+ extras/Makefile.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/extras/Makefile.in b/extras/Makefile.in
+index 56942db..f174e3f 100644
+--- a/extras/Makefile.in
++++ b/extras/Makefile.in
+@@ -36,7 +36,7 @@ CCOPT =		@V_CCOPT@
  DEFS =		@DEFS@
  INCLS =		-I..
  CFLAGS =	$(CCOPT) $(DEFS) $(INCLS)
meta-arago-extras/recipes-extended/thttpd/thttpd-2.28/install.patch +49 -33

105 lines not on this page · raw message

Signature · 1 line
2.7.4