httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <>
Subject WWW Form Bug Report: "Core dumps on top bit set URLs when trying to find correct language" on SunOS 4.x (fwd)
Date Tue, 16 Apr 1996 14:51:17 GMT

not acked

Message-Id: <>
Date: Tue Apr 16  7:45:14 1996
Subject: WWW Form Bug Report: "Core dumps on top bit set URLs when trying to find correct
language" on SunOS 4.x

Operating system: SunOS 4.x, version: 
Extra Modules used: agent_log_module referer_log_module
URL exhibiting problem:

(Sorry about the lack of formatting)
Server sometimes coredumps when requesting URLs with top bit set characters in the URLS

I thought at first it was Microsoft Internet Explorer, as it requests a prefered language.
I captured its request

GET /G/-----.---- HTTP/1.0
Accept: */*, image/x-xbitmap, image/jpeg, image/gif
Accept-Language: en
User-Agent: Microsoft Internet Explorer/4.40.308 (Windows 95)

Netscape doesn't ask for a language (as you can see this is a test server):

GET /-----.---- HTTP/1.0
Connection: Keep-Alive
User-Agent: Mozilla/3.0b2 (X11; I; SunOS 5.4 sun4m)
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*

but Netscape got upset and seems to have crashed it just now.
I think top bit set URLs are OK, according to the HTTP 3.0 spec.
(But Mac Netscape cocks up! - I think Mac Netscape convertes the document to
Apple's charset, then attempts to request things with the converted URL, rather
than the orginal ISO-Latin1 URL)

The URL will probably crash me, but the problem seems to be repeatable, so
you should be able to crash your own server if you make a make a file
with a nasty name.

(Or is it my fault for starting httpd from a cron job, where
(presumably) the LC_CTYPE is unset, and Sun OS is assuming 7 bits?)


(dbx) where
warning: core file read error: address not in data space
kill() at 0xf775c120
seg_fault() at 0x3af4
_sigtramp() at 0xf7732c4c
tolower() at 0xf778c944
find_ct() at 0xb864
run_method() at 0x5cb8
process_request_internal() at 0x7644
process_request() at 0x76b8
child_main() at 0x415c
standalone_main() at 0x46fc
main() at 0x4984


----- End of forwarded message from -----

Rob Hartill (
The Internet Movie Database (IMDb)
           ...more movie info than you can poke a stick at.

View raw message