misc/73034: libalias does not handle lowercase port/eprt commands
Thomas Wolf
tw at wsf.at
Sat Oct 23 01:50:25 PDT 2004
>Number: 73034
>Category: misc
>Synopsis: libalias does not handle lowercase port/eprt commands
>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: Sat Oct 23 08:50:24 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Thomas Wolf
>Release: 5.2.1, same on 4.x
>Organization:
WSF
>Environment:
FreeBSD bsd52.wsf.local 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #0: Tue Jul 13 19:52:57 CEST 2004 tw at bsd52.wsf.local:/usr/obj/usr/src/sys/wsf01 i386
>Description:
src/lib/libalias/alias_ftp.c checks only for uppercase P,O,R,T and E,P,R,T when modifying commands during active ftp sessions.
>How-To-Repeat:
Use a ftp client that sends lowercase commands (e.g. konqueror) in active mode.
>Fix:
if changing 'if (ch == 'P')...' to 'if (ch | 0x20 == 'p')...' is considered ok I can supply patches.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list