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

Panic on nil pointer for the getEnforceSpec if not specified #125

Open
mpryc opened this issue Dec 4, 2024 · 0 comments
Open

Panic on nil pointer for the getEnforceSpec if not specified #125

mpryc opened this issue Dec 4, 2024 · 0 comments

Comments

@mpryc
Copy link
Collaborator

mpryc commented Dec 4, 2024

go run ./cmd/main.go
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x15e0859]

Running nac controller with DPA that has no enfroced spec

goroutine 1 [running]:
main.getEnforcedSpec(0xc00019a248, {0xc00004c0f0, 0xd})
   cmd/main.go:208 +0x219
main.main()
cmd/main.go:116 +0x4fa
exit status 2
make: *** [Makefile:89: run] Error 1
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

No branches or pull requests

1 participant