[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gtags-parser segfault on OpenBSD3.8/i386
From: |
Shigio Yamaguchi |
Subject: |
Re: gtags-parser segfault on OpenBSD3.8/i386 |
Date: |
Sun, 19 Mar 2006 15:04:56 +0900 |
Hello,
> here is a patch for this problem.
> it seems to work well in my box.
The bug might be fixed in the CVS repository.
Thank you.
diff -r1.29 strbuf.c
400c400
< if (*(sb->curp - 1) == '\r')
---
> if (sb->curp > sb->sbuf && *(sb->curp - 1) == '\r')
--
Shigio YAMAGUCHI <address@hidden> - Tama Communications Corporation
PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3