NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/60930: ftp with file:/// uri fails, ftp_strdup: called with NULL argument



>Number:         60930
>Category:       bin
>Synopsis:       ftp with file:/// uri fails, ftp_strdup: called with NULL argument
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 27 06:55:00 +0000 2026
>Originator:     linear
>Release:        11.0
>Organization:
>Environment:
NetBSD dreamcast 11.0 NetBSD 11.0 (GENERIC) #0: Thu Jul 30 15:23:12 UTC 2026  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/dreamcast/compile/GENERIC dreamcast
>Description:
the ftp program is documented in its man page as supporting file:// uri for obtaining files.

however, when attempting to use that functionality, the following error is produced:

    ftp: ftp_strdup: called with NULL argument

>How-To-Repeat:
attempt to fetch a file from the local filesystem using the ftp program, using a file:// uri:

$ ftp ftp:///netbsd
ftp: ftp_strdup: called with NULL argument
$ ftp ftp:///etc/profile
ftp: ftp_strdup: called with NULL argument

>Fix:




Home | Main Index | Thread Index | Old Index