antirez / antirez/kilo

"\t//" crashes kilo (sometimes!)

Aperta
#18 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub
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.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.