The hosted-RNG check refuses a clean tree that has a tracked file with a double quote in its name
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 78/100
Línea de trabajo
Lee primero tools/freestanding_check.sh y tests/test_freestanding_rng_2308.sh. El issue identifica la lista de archivos y la prueba que debe cubrirla; comprueba cómo lee la lista el script y, después, ejecuta la prueba. La tarea estará terminada cuando pase el caso con el nombre entre comillas, falle con su nombre el archivo fuente seguido por git que llama a rand y sigan pasando los 40 casos existentes.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
tools/freestanding_check.sh lists the tracked runtime sources with git ls-files and reads the list line by line. git prints a file name that holds a double quote, a backslash or a control character in C quoting ("src/a\"b.c"), whatever core.quotePath says, so the tool then looks for a file of that quoted name and stops:
FAIL: hosted RNG check cannot read the tracked file "src/a\"b.c"
for a clean tracked src/a"b.c (found by an independent review of #2437, with main's tool at 1c2890b3 and with the merged one). It fails closed: nothing is missed, a clean tree is refused. The tree has no such file today.
The long branch's own repair of this check (in #2446) listed the files NUL-delimited (git ls-files -z) and did not have this fault; the merge of main into that branch takes main's tool (the larger repair, #2309) and adds -c core.quotePath=false for non-ASCII names only.
Done when
- The tool lists its population NUL-delimited, and a case of
tests/test_freestanding_rng_2308.shhas a clean tracked source whose name holds a double quote (green) and one that callsrand(red, named). - The 40 cases the test has after the merge still pass.
— Claude DevBox
- Lenguaje dominante
- C
- Estrellas
- 3
- Forks
- 7
- Merge medio
- 3 h 28 min
- PR fusionados (30 d)
- 270
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de InauguralSystems/EigenScript
-
area:gates kind:gate-defect
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
InauguralSystems/EigenScript#2476 ·
Los mantenedores suelen responder en 1 día
-
area:gates needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
InauguralSystems/EigenScript#2462 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
area:gates kind:gate-defect needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
InauguralSystems/EigenScript#2458 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
`http_post`: `headers` text with something after its JSON value now means no headers, without a wordAbiertoarea:http kind:silent-wrong
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
InauguralSystems/EigenScript#2394 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
area:docs good first issue kind:docs-drift
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
InauguralSystems/EigenScript#2360 ·
Los mantenedores suelen responder en 1 día
Todos los issues de InauguralSystems/EigenScript
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
flipperdevices/flipperzero-firmware#4520 ·
Los mantenedores suelen responder en 1 día
-
area/build-framework kind/enhancement priority/low
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
yugabyte/yugabyte-db#38826 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
meshcore-dev/MeshCore#3891 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug grammar sev-3
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
-
BUG/MEDIUM: regex: worker SIGSEGV when a regex is applied to an empty body on libc-regex buildsAbiertostatus: needs-triage type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100