ftpget mime confustion & core dumps in 1.1.16

From: Julianne Weekers <julianne@dont-contact.us>
Date: Wed, 1 Oct 1997 14:48:49 +1000 (GMT+1000)


I seem to have a problem with ftpget in 1.1.16. There are 2
components, probably related as it seems to be a mime type interpretation
(Both of these URLs are fine with ftpget 1.1.14)

1) Url's such as

Do not return data, but instead return the error:
> No Object Data
>This means that:
> The remote server closed the connection before sending any data.

2) ftpget core dumps on some URLs:

        eg: ftp://ftp.aros.net/pub/win95/URL.DLL

GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.16 (alpha-dec-osf4.0), Copyright 1996 Free Software Foundation,
Core was generated by `ftpget.1.1.16'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/shlib/libm.so...done.
Reading symbols from /usr/shlib/libc.so...done..
#0 0x3ff800d1ffc in mbscmp ()
(gdb) where
#0 0x3ff800d1ffc in mbscmp ()
#1 0x1200049c0 in mime_get_type (r=0x140031000) at ftpget.c:925
#2 0x120004dbc in send_success_hdr (r=0x140031000) at ftpget.c:1016
#3 0x120008e34 in process_request (r=0x140031000) at ftpget.c:2344
#4 0x12000a710 in main (argc=6, argv=0x140002890) at ftpget.c:2849

We run Squid 1.1.16 on Digital Unix v4.
Julianne Weekers (J.Weekers@cc.uq.edu.au)
                            Prentice Centre, University of Queensland
Received on Tue Sep 30 1997 - 21:52:12 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:37:12 MST