Segfault at if '\<letter>' entered inside string & if compiled with musl-gcc (a proposed fix is also included)
Đang mở
- Ngôn ngữ chính
- C
- Star
- 9.1k
- Fork
- 995
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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)) {`
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.