Blame SOURCES/httpd-2.4.6-r1862604.patch

008793
--- a/docs/conf/magic	2019/07/05 11:22:46	1862603
008793
+++ b/docs/conf/magic	2019/07/05 11:26:12	1862604
008793
@@ -87,7 +87,7 @@
008793
 # Microsoft WAVE format (*.wav)
008793
 # [GRR 950115:  probably all of the shorts and longs should be leshort/lelong]
008793
 #					Microsoft RIFF
008793
-0	string		RIFF		audio/unknown
008793
+0	string		RIFF		
008793
 #					- WAVE format
008793
 >8	string		WAVE		audio/x-wav
008793
 # MPEG audio.
008793
--- a/modules/metadata/mod_mime_magic.c	2019/07/05 11:22:46	1862603
008793
+++ b/modules/metadata/mod_mime_magic.c	2019/07/05 11:26:12	1862604
008793
@@ -606,7 +606,7 @@
008793
     /* high overhead for 1 char - just hope they don't do this much */
008793
     str[0] = c;
008793
     str[1] = '\0';
008793
-    return magic_rsl_add(r, str);
008793
+    return magic_rsl_add(r, apr_pstrdup(r->pool, str));
008793
 }
008793
 
008793
 /* allocate and copy a contiguous string from a result string list */