Skip to content

[gosrc2cpg] fix: check before accessing some variables - #5899

Open
nicovell3 wants to merge 1 commit into
joernio:masterfrom
nicovell3:gosrc2cpg-fixes
Open

[gosrc2cpg] fix: check before accessing some variables#5899
nicovell3 wants to merge 1 commit into
joernio:masterfrom
nicovell3:gosrc2cpg-fixes

Conversation

@nicovell3

Copy link
Copy Markdown

When processing the repository https://pkg.go.dev/golang.org/x/crypto I had some bugs in gosrc2cpg. This commit fixes them by checking some variables before accessing them.

Note: this is my first pull request to this repository. If there is something incorrect, please let me know and I'll try to fix it.

@max-leuthaeuser

Copy link
Copy Markdown
Contributor

Thanks for your contribution. Completely overlooked it, sorry.
Some of the things have already been fixed on master. Could you resolve the merge conflicts and re-check?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants