]> git.ipfire.org Git - people/ms/dma.git/commitdiff
Update to 2010.06.17, part II: refresh the remaining patches.
authorPeter Pentchev <roam@ringlet.net>
Fri, 18 Jun 2010 14:26:04 +0000 (14:26 +0000)
committerPeter Pentchev <roam@ringlet.net>
Fri, 18 Jun 2010 14:26:04 +0000 (14:26 +0000)
patches/09-typos.patch
patches/17-mailname.patch
patches/23-dirent-d_type.patch
patches/27-int-size.patch
patches/28-valid-recipient.patch
patches/29-double-free.patch

index 793628f31e900038c8ed875c22a458a0c4fedcc8..a2c4d40c603aa4aab724fa045d978b970a912d0e 100644 (file)
@@ -3,11 +3,11 @@ Description: Fix a typo in an error message.
 Origin: other: http://svn.ringlet.net/svn/ringlet/mail/dma/
 Forwarded: no
 Author: Peter Pentchev <roam@ringlet.net>
-Last-Update: 2010-06-02
+Last-Update: 2010-06-18
 
 --- a/crypto.c
 +++ b/crypto.c
-@@ -262,7 +262,7 @@
+@@ -261,7 +261,7 @@
        /* Send AUTH command according to RFC 2554 */
        send_remote_command(fd, "AUTH CRAM-MD5");
        if (read_remote(fd, sizeof(buffer), buffer) != 3) {
index 606b6ce5615d25c9b061c058055c978112c3eb52..3b671c977fb1cab1483c539e0c93e54f5249488b 100644 (file)
@@ -6,7 +6,7 @@ Description: Several fixes to the mail name file parsing.
 Origin: other: http://svn.ringlet.net/svn/ringlet/mail/dma/
 Forwarded: no
 Author: Peter Pentchev <roam@ringlet.net>
-Last-Update: 2010-06-02
+Last-Update: 2010-06-18
 
 --- a/dma.conf
 +++ b/dma.conf
@@ -30,8 +30,8 @@ Last-Update: 2010-06-02
  
        if (initialized)
 @@ -62,7 +63,9 @@
-       if (config->mailnamefile != NULL && config->mailnamefile[0] != '\0') {
-               fp = fopen(config->mailnamefile, "r");
+       if (config.mailnamefile != NULL && config.mailnamefile[0] != '\0') {
+               fp = fopen(config.mailnamefile, "r");
                if (fp != NULL) {
 -                      if (fgets(name, sizeof(name), fp) != NULL) {
 +                      res = fgets(name, sizeof(name), fp);
index 6018713cc275f7c9032ac6d62808690642a4442a..44afdeb894063e93d38072b3099e16ceb84d27f6 100644 (file)
@@ -6,11 +6,11 @@ Origin: other: http://svn.ringlet.net/svn/ringlet/mail/dma/
 Bug-Debian: http://bugs.debian.org/544357
 Forwarded: no
 Author: Peter Pentchev <roam@ringlet.net>
-Last-Update: 2010-06-02
+Last-Update: 2010-06-18
 
 --- a/spool.c
 +++ b/spool.c
-@@ -287,7 +287,8 @@
+@@ -291,7 +291,8 @@
                mailfn = NULL;
  
                /* ignore temp files */
@@ -20,8 +20,8 @@ Last-Update: 2010-06-02
                        continue;
                if (de->d_name[0] != 'Q')
                        continue;
-@@ -296,6 +297,9 @@
-               if (asprintf(&mailfn, "%s/M%s", config->spooldir, de->d_name + 1) < 0)
+@@ -300,6 +301,9 @@
+               if (asprintf(&mailfn, "%s/M%s", config.spooldir, de->d_name + 1) < 0)
                        goto fail;
  
 +              if (de->d_type == DT_UNKNOWN)
index 930e6091feaf303feef4560340667c7d0b1aafb9..e9ea9ef7f10324c4159c7bd20aaa177f388e3740 100644 (file)
@@ -3,11 +3,11 @@ Description: Cast correctly to uintmax_t when using %PRIxMAX.
 Origin: other: http://svn.ringlet.net/svn/ringlet/mail/dma/
 Forwarded: no
 Author: Peter Pentchev <roam@ringlet.net>
-Last-Update: 2010-06-02
+Last-Update: 2010-06-18
 
 --- a/spool.c
 +++ b/spool.c
-@@ -89,7 +89,7 @@
+@@ -92,7 +92,7 @@
         */
        if (fstat(fd, &st) != 0)
                goto fail;
index 6d8fc192c8f8f36c7cace550c0c7ac1ef6015367..32f7196bc213b34588fae623a39f3c30157d6a58 100644 (file)
@@ -3,11 +3,11 @@ Description: Check the parsed recipient address for validity.
 Origin: other: http://svn.ringlet.net/svn/ringlet/mail/dma/
 Forwarded: no
 Author: Peter Pentchev <roam@ringlet.net>
-Last-Update: 2010-06-15
+Last-Update: 2010-06-18
 
 --- a/mail.c
 +++ b/mail.c
-@@ -428,8 +428,8 @@
+@@ -427,8 +427,8 @@
        if (addr == NULL)
                errlog(1, NULL);
  
index 847cc361c13dcfb76370c1544eca530693040cbc..2391e8cdd16c4be1f6f4c0a099caa8e4a89d6a50 100644 (file)
@@ -3,11 +3,11 @@ Description: Fix a double-free bug.
 Origin: other: http://svn.ringlet.net/svn/ringlet/mail/dma/
 Forwarded: no
 Author: Peter Pentchev <roam@ringlet.net>
-Last-Update: 2010-06-17
+Last-Update: 2010-06-18
 
 --- a/spool.c
 +++ b/spool.c
-@@ -315,7 +315,7 @@
+@@ -319,7 +319,7 @@
                if (queuefn != NULL)
                        free(queuefn);
                if (mailfn != NULL)