-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Extra modification #3520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: v2/master
Are you sure you want to change the base?
Extra modification #3520
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2261,6 +2261,8 @@ char *construct_single_var(modsec_rec *msr, char *name) { | |
| msre_var *vx = NULL; | ||
| char *my_error_msg = NULL; | ||
|
|
||
| if (msr->msc_rule_mptmp == NULL) return NULL; | ||
|
||
|
|
||
| /* Extract variable name and its parameter from the script. */ | ||
| varname = apr_pstrdup(msr->mp, name); | ||
| if (varname == NULL) return NULL; | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment says "Add the MODSEC_a.b define" but this block now adds multiple defines (including feature/compile-mode defines). Update the comment (or split it) so it accurately describes what is being added.