You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Pekka Savola <pe...@netcore.fi> on 2001/07/01 12:45:01 UTC
mod_mime/7964: mime_magic_module + little-endian data => internal server error
>Number: 7964
>Category: mod_mime
>Synopsis: mime_magic_module + little-endian data => internal server error
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apache
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Sun Jul 01 03:50:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: pekkas@netcore.fi
>Release: 1.3.19
>Organization:
apache
>Environment:
FreeBSD 4.3 on i386, Linux
>Description:
Iff mime_magic_module is enabled, and you have little-endian data
(might be some other data types too, but I came across this one):
# file data
data: RIFF (little-endian) data
You _always_ get a 500 internal server error when you try to access the file.
Turning mime_magic off fixes this.
>How-To-Repeat:
Download the data example (server has mime_magic disabled) from:
http://www.netcore.fi/pekkas/riff_data
and try.
>Fix:
Enhance mime_magic to be more robust somehow ;-)
>Release-Note:
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or ]
["Re: general/1098:"). If the subject doesn't match this ]
[pattern, your message will be misfiled and ignored. The ]
["apbugs" address is not added to the Cc line of messages from ]
[the database automatically because of the potential for mail ]
[loops. If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request from a ]
[developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]