Skip to content

Conversation

@rainerjung
Copy link

@rainerjung rainerjung commented Oct 1, 2024

The previous move of id_log() from re.c to apache2_config.c broke running the unit tests. The binary msc_test does not have apache2_config.c as a dependency in tests/Makefile so when linking you get an undefined symbol. And if you add apache2_config.c to the msc_test dependencies, even more undefined symbols now needed by apache2_config.c show up.

Since id_log() is already declared in msc_util.h, it seems right to move it to msc_util.c. And indeed this fixes the problem.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 1, 2024

@marcstern marcstern merged commit d6f1ebb into owasp-modsecurity:v2/master Oct 2, 2024
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants