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

Checking receiver certificates may cause a NPE #32

Closed
RovoMe opened this issue Mar 5, 2020 · 2 comments
Closed

Checking receiver certificates may cause a NPE #32

RovoMe opened this issue Mar 5, 2020 · 2 comments
Assignees
Labels

Comments

@RovoMe
Copy link

RovoMe commented Mar 5, 2020

On looking at the code that handles the sender certificate check I noticed that if a check for valid participantId, docTypeId or processId in _getReceiverEndpoint(...) fails null is returned that leads to execution of the respective null-check block, which performs operations on the previously tested objects, which may be null at this point,and therefore throw a NPE.

@phax phax self-assigned this Mar 5, 2020
@phax phax added the bug label Mar 5, 2020
@phax
Copy link
Owner

phax commented Mar 5, 2020

You are totally right - thanks for pointing that out 👍

phax added a commit that referenced this issue Mar 5, 2020
@phax
Copy link
Owner

phax commented Mar 5, 2020

Thanks again. Will be part of the 0.9.12 release

@phax phax closed this as completed Mar 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants