Segfault at if '\<letter>' entered inside string & if compiled with musl-gcc (a proposed fix is also included)
Abierto
- Lenguaje dominante
- C
- Estrellas
- 9.1k
- Forks
- 995
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
if kilo is compiled with the musl gcc wrapper, the following will trigger a segfault
`> kilo new_file.c`
then enter on first line:
`puts("\e`
This will trigger a segfault in musl (but not glibc)
The following will fix the problem - change line 445 from:
`if (*p == '\\') {`
To:
`if (*p == '\\' && *(p+1)) {`
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.