False positive - tuple unpacking bracket detected as variable
- Lenguaje dominante
- CodeQL
- Estrellas
- 10.1k
- Forks
- 2.1k
- Merge medio
- 2 d 15 h
- PR fusionados (30 d)
- 141
Descripción
**Description of the false positive**
tuple unpack left bracket detected as variable.

https://github.com/PhilipDeegan/PHARE/security/code-scanning/913
**Code samples or links to source code**
```c++
#include
void fn(std::tuple, std::tuple> const& tup){
auto const& [A,B] = tup;
auto const& [a0, a1, a2] a = A;
auto const& [b0, b1, b2] a = B;
// do something with a/b vals...
}
```
Guía de contribución
Línea de trabajo
No repository file or test is identified. Start by reviewing the linked code-scanning result and reproducing the report with the provided C++ tuple-unpacking sample; done means the tuple-unpacking brackets are no longer reported as a variable.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- cpp
- Área
- devtools, security
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100