Dear support,
we have one site with ASP Pro installed that has been getting segfaults (SIGSEGV). Upon further inspection of core dumps, we have determined that the cause is an infinite loop, caused by ASP that calls get_search_form() recursively until everything crashes.
By analyzing access logs we have determined that this is caused by bots with MSIE agent strings and “Display the default search box on old browsers?” being turned on.
This is our searchform.php:
if (conditions) {
echo do_shortcode(‘[wd_asp id=2]‘);
} else {
echo do_shortcode(‘[wd_asp id=1]‘);
}
How should we handle this to prevent segfaults?
Best regards,
Andrej