Issue found by Svace static analyzer
Aberta
- Linguagem predominante
- Go
- Estrelas
- 12
- Forks
- 2
- Merge médio
- 35min
- PRs com merge (30d)
- 2
Descrição
Hello
This warning found with the Svace.
Here the variable m may be nil when me.value.Type().kind() is equal to reflect.Struct. It may leads to panic when m is dereferenced.
https://github.com/anacrolix/tagflag/blob/032338151f4c4e6eb9f796b827830b712b8cd01e/arg.go#L22
There is a dereference of m.
https://github.com/anacrolix/tagflag/blob/032338151f4c4e6eb9f796b827830b712b8cd01e/arg.go#L23
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.