summaryrefslogtreecommitdiff
path: root/sapi/tux/php_tux.c
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2008-03-17 18:03:31 +0000
committerRasmus Lerdorf <rasmus@php.net>2008-03-17 18:03:31 +0000
commitbafb0b4ff5ec13509e99bbecf23949d233885e2f (patch)
tree9aac7358e2e68535b99a8499870ec098a6e78534 /sapi/tux/php_tux.c
parente345eb5e3801e6f2d10f7b9a65d0a0b9b2b01a03 (diff)
downloadphp-git-bafb0b4ff5ec13509e99bbecf23949d233885e2f.tar.gz
We need to pass PHP-managed pointers to filter here to avoid having
emalloc'ed data assigned to things like r->uri and having it get efree()'ed on request shutdown which then means that if the Apache logging module tries to log r->uri it would be reading from free'ed memory. So a simple estrdup before the filter call takes care of that.
Diffstat (limited to 'sapi/tux/php_tux.c')
0 files changed, 0 insertions, 0 deletions