mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-10-01 03:57:47 +03:00
Fix assorted memory and static analysis errors
This commit is contained in:
committed by
Felipe Zimmerle
parent
8d0583eda4
commit
e95efa05cc
@@ -45,8 +45,6 @@ void TimeWDay::evaluate(Transaction *transaction,
|
||||
|
||||
localtime_r(&timer, &timeinfo);
|
||||
strftime(tstr, 200, "%u", &timeinfo);
|
||||
int a = atoi(tstr);
|
||||
a--;
|
||||
|
||||
transaction->m_variableTimeWDay.assign(tstr);
|
||||
|
||||
|
Reference in New Issue
Block a user