**Describe the bug** In the apache2/msc_status_engine.c:176 The variable `i` is compared to 6 but `i` is not defined. This `i` was removed in this commit https://github.com/owasp-modsecurity/ModSecurity/commit/9d9a72734988bbd4f101cbea0d5df60eabcc1435#diff-1c8f9a366617177bdf8e978ba4be1230c2086c1f4d2338cb5e14e21b8162504e I'm not sure if it is still compiling with the DARWIN flag
Activity
airween commentedon Jul 2, 2025
Hi @Greentears,
thanks, you're right, that's a bug.
And it seems that we should extend our CI with an OSX build to avoid this kind of issues. I'm going to fix this soon.
airween commentedon Jul 2, 2025
@Greentears,
unfortunately I don't have any Darwin environment so I can't check other errors - is there any other issue which blocks the build flow?
Greentears commentedon Jul 2, 2025
Hello @airween,
Sorry I actually don't know, I was just reviewing changes done those last few months
airween commentedon Jul 2, 2025
I made some research and this is what I found:
iTherefore the
iis not necessary at all, because it's a constant, its value never changes. I'm going to prepare the fix.airween commentedon Jul 2, 2025
See #3412.