Issue found by Svace static analyzer
Ouverte
- Langage dominant
- Go
- Étoiles
- 12
- Forks
- 2
- Merge moyen
- 35 min
- PR mergées (30 j)
- 2
Description
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
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.