Skip to content
Snippets Groups Projects
  1. Apr 20, 2002
  2. Apr 19, 2002
  3. Apr 18, 2002
  4. Apr 17, 2002
  5. Apr 16, 2002
  6. Apr 15, 2002
    • Kurt Zeilenga's avatar
      Patch: aclparse.c bugs (ITS#1752) · 8354160f
      Kurt Zeilenga authored
      			================
      Written by Hallvard B. Furuseth and placed into the public domain.
      This software is not subject to any license of the University of Oslo.
      			================
      
      Bug fixes:
      - acl_regex_normalized_dn(pattern):
        * used pattern->bv_len even though it claimed not to,
        * would walk past the end of strings that ended (incorrectly)
          with a single '\'.
      - style=regex checked for "^.*$$" twice but not for "^.*$".
      - the code did not notice if dnNormalize2() failed, and would
        (at least in one case) treat a bad DN as '*'.
      Some cleanup:
      - changed regtest() to return void, since the return value was unused.
      - changed acl_regex_normalized_dn() to take a string input argument
        instead of a half-filled berval, it looks saner that way.
      
      Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>, April 2002.
      8354160f
    • Kurt Zeilenga's avatar
      Re: Patch: ctype functions require 'unsigned char' args (ITS#1678) · 709ce4fa
      Kurt Zeilenga authored
      			================
      Written by Hallvard B. Furuseth and placed into the public domain.
      This software is not subject to any license of the University of Oslo.
      			================
      
      Here are fixes for more places where the argument to ctype.h functions
      should be in the range of `unsigned char'.
      
      Explanation of the last patch (to schema_init.c:bvcasechr()):
      TOLOWER() and TOUPPER() return values in the range of `unsigned char',
      but bvcasechr() then compares those values with a plain `char'.  So I
      convert the return values from TOLOWER()/TOUPPER() to `char' first.
      
      Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>, April 2002.
      709ce4fa
Loading