"\t//" crashes kilo (sometimes!)
Aperta
- Lingua principale
- C
- Stelle
- 9.1k
- Fork
- 995
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
to reproduce, start a new line, hit `TAB`, then `/` twice.
or hit `/` twice and then `TAB` at the beginning of the line.
`Segmentation fault: 11`
Seems like the `while(*p)` loop in `editorUpdateSyntax` has some bug.
https://github.com/antirez/kilo/blob/master/kilo.c#L401
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.