You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rob Hartill <ro...@imdb.com> on 1996/06/18 16:13:59 UTC

RE: WWW Form Bug Report: "infinite looping in mod_mime.c and mod_auth.c under dg/ux" on OTHER:dg/ux (fwd)


No probs,
  I also noticed similar syntax in httpd_core.c lines 413 and 439
  Hope this helps
  Rgds.,
  Stuart Harris

>--
>Whilst reading in mime types from conf/mime.types the mime module goes into infinite loop, eating up all available memory.
>Under DG/UX the following while condition NEVER  equates to NULL.
>The following mod fixes the problem:
>
>/*        while(ll[0]) */
>        while(strlen(ll) != 0) {
>            char *ext = getword_conf (p, &ll);
>            str_tolower (ext);	/* ??? */
>            table_set (hash_buckets[hash(ext[0])], ext, ct);
>         }
>
>The problem also exists in mod_auth.c