Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Aug 2005 02:30:16 +0000 (UTC)
From:      "Tim J. Robbins" <tjr@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/regex regex2.h
Message-ID:  <200508130230.j7D2UGSp002570@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
tjr         2005-08-13 02:30:16 UTC

  FreeBSD src repository

  Modified files:
    lib/libc/regex       regex2.h 
  Log:
  Change OUT from -2 to CHAR_MIN-1, making it impossible for it to
  inadvertently match a negative char in the RE being compiled.
  
  This fixes compilation of "\376" (as an ERE) and "\376\376" (as a BRE).
  
  PR:             84740
  MFC after:      1 week
  
  Revision  Changes    Path
  1.9       +1 -1      src/lib/libc/regex/regex2.h



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