Revision: 1891
          
http://undernet-ircu.svn.sourceforge.net/undernet-ircu/?rev=1891&view=rev
Author:   entrope
Date:     2008-11-18 02:30:15 +0000 (Tue, 18 Nov 2008)

Log Message:
-----------
Fix an error in backtracking (apparently exacerbated by escapes).

Modified Paths:
--------------
    ircu2/branches/u2_10_12_branch/ChangeLog
    ircu2/branches/u2_10_12_branch/ircd/match.c

Modified: ircu2/branches/u2_10_12_branch/ChangeLog
===================================================================
--- ircu2/branches/u2_10_12_branch/ChangeLog    2008-10-13 16:35:00 UTC (rev 
1890)
+++ ircu2/branches/u2_10_12_branch/ChangeLog    2008-11-18 02:30:15 UTC (rev 
1891)
@@ -1,3 +1,8 @@
+2008-11-17  Michael Poole <[EMAIL PROTECTED]>
+
+       * ircd/match.c (match): Fix an error in backtracking (apparently
+       exacerbated by escapes).
+
 2008-09-07  Perry Lorier <[EMAIL PROTECTED]>
        
        * ircd/m_kill.c: Remove the . from the end of the nickname in kill

Modified: ircu2/branches/u2_10_12_branch/ircd/match.c
===================================================================
--- ircu2/branches/u2_10_12_branch/ircd/match.c 2008-10-13 16:35:00 UTC (rev 
1890)
+++ ircu2/branches/u2_10_12_branch/ircd/match.c 2008-11-18 02:30:15 UTC (rev 
1891)
@@ -201,6 +201,8 @@
       return 1;
     m = m_tmp;
     n = ++n_tmp;
+    if (*n == '\0')
+      return 1;
     break;
   case '\\':
     m++;


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.
_______________________________________________
Patches mailing list
[email protected]
http://undernet.sbg.org/mailman/listinfo/patches

Reply via email to