On 26/10/2021 08.18, miim wrote:
ua_pointer = apr_table_get(r->headers_in, "User-Agent");
       /* Find out how long the Apache-supplied string is */
   ualength = strlen(ua_pointer);

If the request does not contain any user-agent then ua_pointer will be NULL. strlen of NULL will segfault.

S

Reply via email to