Skip to content
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

Double locking in Intermediary #1210

Closed
jcrichlake opened this issue Jul 31, 2024 · 3 comments
Closed

Double locking in Intermediary #1210

jcrichlake opened this issue Jul 31, 2024 · 3 comments
Labels
devex/opex A development excellence or operational excellence backlog item. Fortify none for CDC mapping Stream 2

Comments

@jcrichlake
Copy link
Contributor

jcrichlake commented Jul 31, 2024

DevEx/OpEx

Priority: High

Inside of TransformationRuleEngine.java and ValidationRuleEngine we are checking rules.isEmpty() twice, once before the synchronized keyword and again afterward. We need to remove the check before the synchronized keyword to satisfy the scan and not provide a false sense of security.

Tasks

Additional Context

Add any other context or screenshots about the work here.

@jcrichlake jcrichlake added devex/opex A development excellence or operational excellence backlog item. Fortify labels Jul 31, 2024
@halprin
Copy link
Member

halprin commented Jul 31, 2024

This might be able to be fixed with simply adding volatile keyword to the rules fields.

@JohnNKing
Copy link
Contributor

PR is under review.

@JohnNKing
Copy link
Contributor

PR: #1228

@sfradkin sfradkin added the none for CDC mapping label Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devex/opex A development excellence or operational excellence backlog item. Fortify none for CDC mapping Stream 2
Projects
None yet
Development

No branches or pull requests

5 participants