Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Nov 2001 02:17:44 -0800 (PST)
From:      "Daniel C. Sobral" <dcs@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/regex regcomp.c
Message-ID:  <200111091017.fA9AHiS01811@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
dcs         2001/11/09 02:17:44 PST

  Modified files:        (Branch: 1)
    lib/libc/regex       regcomp.c 
  Log:
  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 <mki@mozone.net>
  MFC after:	1 week
  
  Revision  Changes    Path
  1.24      +3 -2      src/lib/libc/regex/regcomp.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111091017.fA9AHiS01811>