Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 2001 21:35:01 -0800 (PST)
From:      fumis@bigfoot.com
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/25243: ftp crashes in remotemodtime ().
Message-ID:  <200102210535.f1L5Z1M71942@freefall.freebsd.org>

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

>Number:         25243
>Category:       bin
>Synopsis:       ftp crashes in remotemodtime ().
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 20 21:40:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     SHIMIZU Fumiyuki
>Release:        4.2-STABLE
>Organization:
>Environment:
FreeBSD ***snip*** 4.2-STABLE FreeBSD 4.2-STABLE #1: Tue Feb 20 14:01:10 JST 2001 ***snip***
>Description:
/usr/bin/ftp crashes after getting a file.

ftp> get foobar
local: foobar remote: foobar
227 Entering Passive Mode (***snip***)
150 Opening data connection for foobar (696075740 bytes).
100% |**************************************************|   663 MB    00:00 ETA
226 Transfer complete.
696075740 bytes received in 11999.42 seconds (56.65 KB/s)
Segmentation fault - core dumped

>How-To-Repeat:
Connect to ftpd which answers with less than 14 or more than 15 characters against `MDTM' request, and get some files.

>Fix:
Braces required just after `if (fmt != NULL)' in remotemodtime ().
/usr/src/usr.bin/ftp/util.c, line 533

>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?200102210535.f1L5Z1M71942>