Hello,

in the attachement you will find the diff for my NMU which fixes a
little FTBFS.

Thank you and regards,

-- 
  .''`.     Mario Iseli <[EMAIL PROTECTED]>
 : :'  :    proud user of Debian unstable
 `. `'`
   `-  Debian - when you have better things to do than fixing a system
diff -Naur maildir-filter-1.20.old/debian/changelog 
maildir-filter-1.20/debian/changelog
--- maildir-filter-1.20.old/debian/changelog    2007-05-18 20:32:38.000000000 
+0200
+++ maildir-filter-1.20/debian/changelog        2007-05-18 20:33:01.000000000 
+0200
@@ -1,3 +1,11 @@
+maildir-filter (1.20-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload during BSP.
+  * Assign result of realloc in maildir-filter.c:108 to a temporary variable
+    called tmpaddr to fix FTBFS (Closes: #422610).
+
+ -- Mario Iseli <[EMAIL PROTECTED]>  Fri, 18 May 2007 20:31:53 +0200
+
 maildir-filter (1.20-1) unstable; urgency=low
 
   * New upstream version (Closes: #259331)
diff -Naur maildir-filter-1.20.old/maildir-filter.c 
maildir-filter-1.20/maildir-filter.c
--- maildir-filter-1.20.old/maildir-filter.c    2004-08-09 23:18:57.000000000 
+0200
+++ maildir-filter-1.20/maildir-filter.c        2007-05-18 20:33:01.000000000 
+0200
@@ -104,8 +104,9 @@
                
        for(lines=0,line=malloc(BUFSIZ);line && 
fgets(line,BUFSIZ,stdin);lines++,line=malloc(BUFSIZ)) {
                size_t len = strlen(line);
+               char** tmpaddr=NULL;
                msg_len+=len;
-               realloc(line, len+1);
+               tmpaddr = realloc(line, len+1);
                message=realloc(message,sizeof(void*) * lines+1);
                message[lines]=line;
        }

Reply via email to