Skip to content

Fixed Bug in DefectDojo Hook where Findings with Null fields caused Runtime Exceptions#529

Merged
rfelber merged 3 commits intomainfrom
bugfix/dd-hook-urlparse-nullpointer
Jul 1, 2021
Merged

Fixed Bug in DefectDojo Hook where Findings with Null fields caused Runtime Exceptions#529
rfelber merged 3 commits intomainfrom
bugfix/dd-hook-urlparse-nullpointer

Conversation

@JohannesZahn
Copy link
Contributor

@JohannesZahn JohannesZahn commented Jul 1, 2021

Signed-off-by: Johannes Zahn johannes.zahn@iteratec.com

Description

Closes #528. Additionally to the bug described there I added a unit test to make sure null fields in Findings dont cause the Hook to crash with a NullPointerException

Checklist

  • Test your changes as thoroughly as possible before you commit them. Preferably, automate your test by unit/integration tests.
  • Make sure npm test runs for the whole project.
  • Make codeclimate checks happy

Signed-off-by: Johannes Zahn <johannes.zahn@iteratec.com>
@JohannesZahn JohannesZahn added the bug Bugs label Jul 1, 2021
@JohannesZahn JohannesZahn added this to the v3.0.0 milestone Jul 1, 2021
@JohannesZahn JohannesZahn requested a review from rfelber July 1, 2021 06:01
@JohannesZahn JohannesZahn self-assigned this Jul 1, 2021
Signed-off-by: Johannes Zahn <johannes.zahn@iteratec.com>
@rfelber rfelber enabled auto-merge July 1, 2021 06:37
@rfelber rfelber disabled auto-merge July 1, 2021 06:38
@JohannesZahn
Copy link
Contributor Author

Can I merge it @rseedorff ?

@rfelber rfelber enabled auto-merge July 1, 2021 10:10
@rfelber rfelber disabled auto-merge July 1, 2021 10:10
@rfelber rfelber enabled auto-merge July 1, 2021 10:10
@rfelber rfelber merged commit bf80cb1 into main Jul 1, 2021
@rfelber rfelber deleted the bugfix/dd-hook-urlparse-nullpointer branch July 1, 2021 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Bugs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug DefectDjo Persistence Provider for generic findings

2 participants