Date: Thu, 2 Nov 2000 03:44:30 -0800 (PST) From: gaute@knpqwest.no To: freebsd-gnats-submit@FreeBSD.org Subject: misc/22537: Case sensitive address comparison in vacation Message-ID: <20001102114430.C49C437B4C5@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 22537 >Category: misc >Synopsis: Case sensitive address comparison in vacation >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Nov 02 03:50:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Gaute Nessan >Release: 4.1-STABLE >Organization: KPNQwest Norway >Environment: FreeBSD nitro.i.eunet.no 4.1-STABLE FreeBSD 4.1-STABLE #0: Sat Sep 9 19:14:07 CEST 2000 root@nitro.i.eunet.no:/d3/obj/usr/src/sys/GAUTE i386 >Description: Function nsearch in /usr/src/usr.bin/vacation/vacation.c uses case sensitive comparison of first character in mail address. >How-To-Repeat: >Fix: *** vacation.c Sat Aug 28 03:07:19 1999 --- /tmp/vacation.c Thu Nov 2 11:28:53 2000 *************** *** 304,308 **** for (len = strlen(name); *str; ++str) ! if (*str == *name && !strncasecmp(name, str, len) && isdelim((unsigned char)str[len])) --- 304,308 ---- for (len = strlen(name); *str; ++str) ! if (tolower(*str) == tolower(*name) && !strncasecmp(name, str, len) && isdelim((unsigned char)str[len])) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001102114430.C49C437B4C5>