-
Notifications
You must be signed in to change notification settings - Fork 3.4k
[BUG] Missing nil check for opts in js/compiler/pool/executeWithRuntime #7248
Copy link
Copy link
Closed as not planned
Closed as not planned
Copy link
Labels
Status: AbandonedThis issue is no longer important to the requestor and no one else has shown an interest in it.This issue is no longer important to the requestor and no one else has shown an interest in it.Status: StaleThis issue/PR has been inactive for a while and may be closed soon if no further activity occThis issue/PR has been inactive for a while and may be closed soon if no further activity occType: BugInconsistencies or issues which will cause an issue or problem for users or implementors.Inconsistencies or issues which will cause an issue or problem for users or implementors.
Metadata
Metadata
Assignees
Labels
Status: AbandonedThis issue is no longer important to the requestor and no one else has shown an interest in it.This issue is no longer important to the requestor and no one else has shown an interest in it.Status: StaleThis issue/PR has been inactive for a while and may be closed soon if no further activity occThis issue/PR has been inactive for a while and may be closed soon if no further activity occType: BugInconsistencies or issues which will cause an issue or problem for users or implementors.Inconsistencies or issues which will cause an issue or problem for users or implementors.
Is there an existing issue for this?
Current Behavior
Missed nil check for setting
opts.ExecutionId-nuclei/pkg/js/compiler/pool.go
Line 115 in 3497738
Before always checked
opts, so I think it can be nilExpected Behavior
Checking for nil
Steps To Reproduce
Create run without opts
Relevant log output
Environment
Anything else?
If opts cannot be nil remove another checks...