Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Oct 2004 08:44:18 GMT
From:      Thomas Wolf <tw@wsf.at>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/73034: libalias does not handle lowercase port/eprt commands
Message-ID:  <200410230844.i9N8iItq017200@www.freebsd.org>
Resent-Message-ID: <200410230850.i9N8oOHo094713@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410230844.i9N8iItq017200>