Blame SOURCES/httpd-2.4.34-r1862604.patch

9364d6
diff --git a/docs/conf/magic b/docs/conf/magic
9364d6
index 7c56119..bc891d9 100644
9364d6
--- a/docs/conf/magic
9364d6
+++ b/docs/conf/magic
9364d6
@@ -87,7 +87,7 @@
9364d6
 # Microsoft WAVE format (*.wav)
9364d6
 # [GRR 950115:  probably all of the shorts and longs should be leshort/lelong]
9364d6
 #					Microsoft RIFF
9364d6
-0	string		RIFF		audio/unknown
9364d6
+0	string		RIFF		
9364d6
 #					- WAVE format
9364d6
 >8	string		WAVE		audio/x-wav
9364d6
 # MPEG audio.
9364d6
diff --git a/modules/metadata/mod_mime_magic.c b/modules/metadata/mod_mime_magic.c
9364d6
index 22dadaf..c12529a 100644
9364d6
--- a/modules/metadata/mod_mime_magic.c
9364d6
+++ b/modules/metadata/mod_mime_magic.c
9364d6
@@ -606,7 +606,7 @@ static int magic_rsl_putchar(request_rec *r, char c)
9364d6
     /* high overhead for 1 char - just hope they don't do this much */
9364d6
     str[0] = c;
9364d6
     str[1] = '\0';
9364d6
-    return magic_rsl_add(r, str);
9364d6
+    return magic_rsl_add(r, apr_pstrdup(r->pool, str));
9364d6
 }
9364d6
 
9364d6
 /* allocate and copy a contiguous string from a result string list */