tags 194869 + patch pending
tags 333214 + patch pending
tags 450036 + patch pending
thanks

Hi Pablo, Ulises

ulises patch is indeed correct and I have verified that the alpha
problem is indeed the same.
Here is the NMU I'm uploading.

Kind regards

T.


diff -u knocker-0.7.1/debian/control knocker-0.7.1/debian/control
--- knocker-0.7.1/debian/control
+++ knocker-0.7.1/debian/control
@@ -10,8 +10,7 @@
 Depends: ${shlibs:Depends}
+Homepage: http://knocker.sourceforge.net/
 Description: a simple and easy to use TCP security port scanner
  Knocker is a new, simple, and easy to use TCP security port
  scanner written in C, using threads. It is able to analyze hosts
  and the network services which are running on them.
- .
- The URL for this project is http://knocker.sourceforge.net/
 
diff -u knocker-0.7.1/debian/changelog knocker-0.7.1/debian/changelog
--- knocker-0.7.1/debian/changelog
+++ knocker-0.7.1/debian/changelog
@@ -1,3 +1,14 @@
+knocker (0.7.1-3.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * src/knocker_conf.c: Free the strings we have allocated, not
+    something else. Thanks to Ulises Vitulli for the patch.
+    Closes: #333214, #194869.
+  * debian/control: Move homepage to its own field.
+  * debian/watch: fix. Thanks to Raphael Geissert. Closes: #450036
+
+ -- Thomas Viehmann <[EMAIL PROTECTED]>  Sun, 05 Oct 2008 12:36:48 +0200
+
 knocker (0.7.1-3) unstable; urgency=low
 
   * Upgraded Standard-Version
diff -u knocker-0.7.1/debian/watch knocker-0.7.1/debian/watch
--- knocker-0.7.1/debian/watch
+++ knocker-0.7.1/debian/watch
@@ -1,2 +1,2 @@
-version=2
-http://prdownloads.sourceforge.net/knocker/knocker-(.*).tar.gz
+version=3
+http://sf.net/knocker/knocker-(.*).tar.gz
only in patch2:
unchanged:
--- knocker-0.7.1.orig/src/knocker_conf.c
+++ knocker-0.7.1/src/knocker_conf.c
@@ -223,6 +223,8 @@
 {
   char *tmpp = malloc (strlen (line));
   char *p = malloc (strlen (line));
+  char *tmpp_orig = tmpp;
+  char *p_orig = p;
 
   /* Check if the option is present in the line */
   tmpp = strstr (line, opt);
@@ -234,7 +236,7 @@
 
   if (!_isblank (*tmpp) || *tmpp != KNOCKER_OPTION_TOKEN)
     {
-      free (tmpp);
+      free (tmpp_orig);
       return 0;
     }
 
@@ -247,8 +249,7 @@
 
   strcpy (value, p);
 
-  /* free(p); this cause knocker to segfault */
-  /* well I have to know why... */
+  free(p_orig);
 
   return 1;
 }



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to