]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix two problems with REG_ICASE that were introduced with the addition of
authortjr <tjr@FreeBSD.org>
Sun, 5 Sep 2004 08:30:42 +0000 (08:30 +0000)
committertjr <tjr@FreeBSD.org>
Sun, 5 Sep 2004 08:30:42 +0000 (08:30 +0000)
commit16f5889d652ee6efae45f9ccfb7f65f9c97efaf4
tree6203250c9def2e38b4900eb5e5a064134c75336a
parent24d8f8ddcef45b252500e769bda933ecd4c7c30f
Fix two problems with REG_ICASE that were introduced with the addition of
multibyte character support:
- In CHadd(), avoid writing past the end of the character set bitmap when
  the opposite-case counterpart of wide characters with values less than
  NC have values greater than or equal to NC.
- In CHaddtype(), fix a braino that caused alphabetic characters to be
  added to all character classes! (but only with REG_ICASE)

PR: 71367
lib/libc/regex/regcomp.c