]> git.ipfire.org Git - thirdparty/apache/httpd.git/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)
commitdfd3f7d9b9706ee8e0fdf81e0e4a4d7b7af138a1
tree7ba6a6f43e97592b898bde9f15574457afa54b20
parent8ddc30b8b3abdfa12fde3827e8c23f6a13e523eb
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