www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vladimir Davydoff <vv...@svzserv.kemerovo.su>
Subject mod_mime/3427: apache core dump when started with locale other then C
Date Fri, 20 Nov 1998 04:34:13 GMT

>Number:         3427
>Category:       mod_mime
>Synopsis:       apache core dump when started with locale other then C
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Nov 19 20:40:00 PST 1998
>Originator:     vvdav@svzserv.kemerovo.su
>Release:        1.3.3
FreeBSD 2.2.7
In mod_mime.c structure array hash_buckets has 27 elements. When locale
is set to national language, is_alpha returns "true" not only for [A-Z,a-z]
and hash() may be > 27. In function find_ct:
" || (type = ap_table_get(hash_buckets[hash(*ext)], ext))) { "
is out of memory.
Access to file "any.русский.html"
1. Increase MIME_HASHSIZE to 258 :-)
2. Fix hash()
3. Start apache with environment setting locale to C
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[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!         ]

View raw message