qmail remote root final patch

Anton Alin-Adrian aanton at reversedhell.net
Mon Jan 19 06:07:14 PST 2004


--- qmail-smtpd.c       Mon Jun 15 13:53:16 1998
+++ qmail-smtpd-patched.c       Mon Jan 19 15:22:23 2004
@@ -316,8 +316,8 @@
         if (flagmaybex) if (pos == 7) ++*hops;
         if (pos < 2) if (ch != "\r\n"[pos]) flagmaybey = 0;
         if (flagmaybey) if (pos == 1) flaginheader = 0;
+       ++pos;
       }
-      ++pos;
       if (ch == '\n') { pos = 0; flagmaybex = flagmaybey = flagmaybez = 
1; }
     }
     switch(state) {



More information about the freebsd-hackers mailing list