owasp-modsecurity / ModSecurity

ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. It has a robust event-based programming language which provides protection from a range of attacks against web applications and allows for HTTP traffic monitoring, logging and real-time analysis.
https://www.modsecurity.org
Apache License 2.0
8.31k stars 1.61k forks source link

Missing #include <time.h> #3262

Closed marcstern closed 2 months ago

marcstern commented 2 months ago

"struct tm" defined in time.h is used in re_variables.c. time.h is not explicitely included, but is included via apr/apr-util. In latest version of apr/apr-util, the inclusion is no more present, leading to a compilation failure. This PR just adds the missing include.

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud