Le 15/10/2019 à 08:20, Miroslav Zagorac a écrit :
Hello,
this patch fixes the segmentation fault in WURFL device detection code.
The problem occurs when character combinations that represent the
special formating codes used in the vfprintf() function are found within
the user agent data.
For example, by running the command 'curl -A"%s s% s%" ...', the user
agent string is set to '%s s% s%', causing the HAProxy to crash.
This only happens if the HAProxy is compiled with the option -DWURFL_DEBUG.
This patch could be backported in every version supporting the
ScientiaMobile's WURFL. (as far as 1.7)
Merged, thank you Miroslav !
--
Christopher Faulet