mod_tile icon indicating copy to clipboard operation
mod_tile copied to clipboard

Segfault on X-forwarded-for

Open yvecai opened this issue 5 years ago • 2 comments

When enabling ModTileEnableTileThrottlingXForward 1 or 2, mod_tile segfault. No problem with ModTileEnableTileThrottlingXForward 0 Exemple with request X-forwarded-for header : 127.0.0.1

Apache error.log

[Fri Nov 08 21:00:57.764068 2019] [core:notice] [pid 6250:tid 139682593230912] AH00052: child pid 6253 exit signal Segmentation fault (11)

yvecai avatar Nov 08 '19 20:11 yvecai

Same for me

[Tue Jan 10 22:55:58.511250 2023] [core:notice] [pid 70481:tid 140658592757632] AH00051: child pid 70704 exit signal Segmentation fault (11), possible coredump in /etc/apache2

How can we debug this?

doits avatar Jan 10 '23 21:01 doits

This should be resolved with #395 and/or #398.

I believe the first is the one which would resolve your issue, which appears to have been caused by invalid usage of apr_strtok

hummeltech avatar Mar 08 '24 04:03 hummeltech