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

Fix NativeProxy reference tracker #299

Merged
merged 1 commit into from Oct 29, 2019

Conversation

cipherboy
Copy link
Member

In eb5df01, I introduced a bug by
setting mPointer after trying to add NativeProxy to the registry. In
most instances this won't matter, however, if another instance exists in
the HashSet with the same hash value, the equals comparator will be
used, triggering a NPE.

Signed-off-by: Alexander Scheel <ascheel@redhat.com>

@cipherboy cipherboy added Bug Something isn't working critical Changes which are critical bug fixes labels Oct 28, 2019
@cipherboy cipherboy added this to the 4.6.3 milestone Oct 28, 2019
@cipherboy cipherboy self-assigned this Oct 28, 2019
@edewata
Copy link
Contributor

edewata commented Oct 28, 2019

Not sure what happened, but it fixed the issue I had with MongoDatabase connection. Thanks!

In eb5df01, I introduced a bug by
setting mPointer after trying to add NativeProxy to the registry. In
most instances this won't matter, however, if another instance exists in
the HashSet with the same hash value, the equals comparator will be
used, triggering a NPE.

Signed-off-by: Alexander Scheel <ascheel@redhat.com>
@cipherboy cipherboy merged commit 91514ca into dogtagpki:master Oct 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working critical Changes which are critical bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants