-
- Downloads
Re: Patch: ctype functions require 'unsigned char' args (ITS#1678)
================ 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.
Showing
- clients/maildap/main.c 7 additions, 7 deletionsclients/maildap/main.c
- clients/tools/ldapmodify.c 2 additions, 2 deletionsclients/tools/ldapmodify.c
- libraries/liblber/bprint.c 1 addition, 1 deletionlibraries/liblber/bprint.c
- libraries/libldap/cyrus.c 3 additions, 3 deletionslibraries/libldap/cyrus.c
- servers/slapd/aclparse.c 5 additions, 5 deletionsservers/slapd/aclparse.c
- servers/slapd/back-passwd/search.c 1 addition, 1 deletionservers/slapd/back-passwd/search.c
- servers/slapd/back-sql/util.c 8 additions, 1 deletionservers/slapd/back-sql/util.c
- servers/slapd/config.c 1 addition, 1 deletionservers/slapd/config.c
- servers/slapd/referral.c 1 addition, 1 deletionservers/slapd/referral.c
- servers/slapd/schema_init.c 3 additions, 3 deletionsservers/slapd/schema_init.c
Loading
Please register or sign in to comment