Why is there rejected hunk's in Turbo's -current control patch?


>From qmail-reply.c

***************
*** 71,76 ****
     register unsigned int i;
     register unsigned int t;

     t = len-pat_len+1;
     for(i=0; i < t; i++) {
        if (!str_diffn( pattern, string+i, pat_len) )
--- 71,79 ----
     register unsigned int i;
     register unsigned int t;

+    if (len < pat_len) {
+      return 1;
+    }
     t = len-pat_len+1;
     for(i=0; i < t; i++) {
        if (!str_diffn( pattern, string+i, pat_len) )


line 71 starts as, patched...

        unsigned int i;

        if (!env_init()) temp_nomem();

        if ( s = env_get("DTLINE") ) {
                if (!stralloc_copys(&dtline,s)) temp_nomem();
        } else {
                strerr_die1x(111,"DTLINE not present (LDAP-ERR #4.1.1)");
        }



The Makefile gets a rejected hunk too.


Kyle Stone
[EMAIL PROTECTED]





Reply via email to