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: segmentation fault and false positive on empty function body #1102

Merged
merged 1 commit into from
May 24, 2022

Conversation

nichtsfrei
Copy link
Member

@nichtsfrei nichtsfrei commented May 10, 2022

On segfault.nasl:

> cat segfault.nasl
function foo() {}
foo();

openvas-nasl-lint does not falsly identify an empty function as an
error and it is also not throwing a SEGFAULT.

@nichtsfrei nichtsfrei changed the title SC 601 Fix: segmentation fault and false positive on empty function body May 10, 2022
@nichtsfrei nichtsfrei marked this pull request as ready for review May 10, 2022 12:47
@nichtsfrei nichtsfrei requested a review from a team as a code owner May 10, 2022 12:47
On segfault.nasl:

```
> cat segfault.nasl
function foo() {}
foo();
```

openvas-nasl-lint does not falsly identify an empty function as an
error and it is also not throwing a SEGFAULT.
@Kraemii Kraemii merged commit 776a0cd into main May 24, 2022
@Kraemii Kraemii deleted the SC-601 branch May 24, 2022 13:22
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