simonmar    2005/12/02 04:26:22 PST

  Modified files:
    libraries/base/cbits/regex regcomp.c 
  Log:
  Apply rev 1.24 from FreeBSD's copy of this file.  Commit message from
  FreeBSD:
  
     The algorithm that computes the tables used in the BM search
     algorithm sometimes access an array beyond it's length. This only
     happens in the last iteration of a loop, and the value fetched is
     not used then, so the bug is a relatively innocent one. Fix this by
     not fetching any value on the last iteration of said loop.
  
     Submitted by:      MKI <[EMAIL PROTECTED]>
  
  This is the cause of bug #1194393 (crash in darcs on Windows).
  
  Revision  Changes    Path
  1.7       +2 -1      fptools/libraries/base/cbits/regex/regcomp.c
_______________________________________________
Cvs-libraries mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to