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

publish doc nuclei panic due to dstgen #21

Closed
tarunKoyalwar opened this issue Mar 1, 2023 · 0 comments · Fixed by #23
Closed

publish doc nuclei panic due to dstgen #21

tarunKoyalwar opened this issue Mar 1, 2023 · 0 comments · Fixed by #23
Assignees
Labels
Priority: High After critical issues are fixed, these should be dealt with before any further issues.

Comments

@tarunKoyalwar
Copy link
Member

Description

dstdocgen -path "" -structure Template -output templates_doc.go -package templates
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x20 pc=0x104abdf10]

goroutine 1 [running]:
main.process()
	/Users/tarun/go/pkg/mod/github.com/projectdiscovery/yamldoc-go@v1.0.4-0.20230209105429-4ad5ff0f2b99/cmd/docgen/dstdocgen/dst.go:139 +0x3d0
main.main()
	/Users/tarun/go/pkg/mod/github.com/projectdiscovery/yamldoc-go@v1.0.4-0.20230209105429-4ad5ff0f2b99/cmd/docgen/dstdocgen/dst.go:100 +0x60

Anything Else

causes panic in nuclei publish docs gh workflow
ref: https://github.com/projectdiscovery/nuclei/actions/runs/4303391969/jobs/7503069410

@tarunKoyalwar tarunKoyalwar added the Priority: High After critical issues are fixed, these should be dealt with before any further issues. label Mar 1, 2023
RamanaReddy0M added a commit that referenced this issue Mar 10, 2023
@RamanaReddy0M RamanaReddy0M linked a pull request Mar 10, 2023 that will close this issue
ehsandeep added a commit that referenced this issue Mar 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: High After critical issues are fixed, these should be dealt with before any further issues.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants