antirez / antirez/kilo

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

オープン
#18 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
C
スター
9.1k
フォーク
995
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。