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
    • Julius Enarusai's avatar
      · 15fffeda
      Julius Enarusai authored
      Added LDAP_LOG Messages
      15fffeda
    • Kurt Zeilenga's avatar
      Patch: ucdata 2.4 bugs (ITS#1751) · 31944003
      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.
      			================
      
      ucgendat.c accessed unallocated memory when i == ncodes_size.
      
      The changes others are trivial, I just include them since I'm patching
      ucdata anyway:
      
      ucdata.c   had some pointless '0 <= unsigned' comparisons.
      
      ucstr.c    assigned a long* to an unsigned long*.  Since malloc()
                 returns void*, the result need not be cast at all.
      
      I'll send the ucgendat.c and ucdata.c patches to Mark Leisher
      <mleisher@crl.nmsu.edu>.
      
      Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>, April 2002.
      31944003
    • Julius Enarusai's avatar
      · a1b4f714
      Julius Enarusai authored
      Added LDAP_LOG Messages
      a1b4f714
Loading