]> granicus.if.org Git - apache/commit
According to comment in 'magic_rsl_add' and to the way 'magic_rsl_printf' manages...
authorChristophe Jaillet <jailletc36@apache.org>
Tue, 11 Jun 2013 07:41:40 +0000 (07:41 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Tue, 11 Jun 2013 07:41:40 +0000 (07:41 +0000)
commit8e247b6cee743d565da8a0356a45793b9c55c7ae
tree7ba6a6f43e97592b898bde9f15574457afa54b20
parentce89a22dffa0ccb6957d0bcfbc4f935b1bee48e3
According to comment in 'magic_rsl_add' and to the way 'magic_rsl_printf' manages its buffer, I think that this memory should be apr_pstrdup'ed.

This has been like that forever, but seems broken to me.

Untested.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1491700 13f79535-47bb-0310-9956-ffa450edef68
modules/metadata/mod_mime_magic.c