-
Notifications
You must be signed in to change notification settings - Fork 304
Default obfuscation regexp update #8937
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: sezen.leblay/upgrade-libddwaf-java-1.23
Are you sure you want to change the base?
Default obfuscation regexp update #8937
Conversation
f0f5955
to
5186564
Compare
if (wafHandle != null && !wafHandle.isOnline()) { | ||
wafHandle.close(); | ||
} | ||
if (wafContext != null && !wafContext.isOnline()) { | ||
wafContext.close(); | ||
} | ||
if (wafBuilder != null && !wafBuilder.isOnline()) { | ||
wafBuilder.close(); | ||
} |
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.
I think the isOnline()
check might not need to be negated here. Could you please double-check this logic?
if (wafHandle != null && !wafHandle.isOnline()) { | |
wafHandle.close(); | |
} | |
if (wafContext != null && !wafContext.isOnline()) { | |
wafContext.close(); | |
} | |
if (wafBuilder != null && !wafBuilder.isOnline()) { | |
wafBuilder.close(); | |
} | |
if (wafHandle != null && wafHandle.isOnline()) { | |
wafHandle.close(); | |
} | |
if (wafContext != null && wafContext.isOnline()) { | |
wafContext.close(); | |
} | |
if (wafBuilder != null && wafBuilder.isOnline()) { | |
wafBuilder.close(); | |
} |
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.
Note this is a stacked PR. These changes are from: #8654
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.
But good point. I do think this logic is reversed.
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.
corrected in the original PR, thank you!
Signed-off-by: sezen.leblay <[email protected]>
Signed-off-by: sezen.leblay <[email protected]>
5186564
to
24555b6
Compare
Signed-off-by: sezen.leblay <[email protected]>
6c47b1e
to
42f13c9
Compare
What Does This Do
Updates libddwaf-java version to have the new regex key for obfuscation
Motivation
Additional Notes
Contributor Checklist
type:
and (comp:
orinst:
) labels in addition to any usefull labelsclose
,fix
or any linking keywords when referencing an issue.Use
solves
instead, and assign the PR milestone to the issueJira ticket: APPSEC-57270