global-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Global-commit] global/libutil strbuf.c


From: Hideki IWAMOTO
Subject: [Global-commit] global/libutil strbuf.c
Date: Sat, 21 Jul 2007 17:15:56 +0000

CVSROOT:        /sources/global
Module name:    global
Changes by:     Hideki IWAMOTO <h-iwamoto>      07/07/21 17:15:56

Modified files:
        libutil        : strbuf.c 

Log message:
        BUGFIX: "global -gxo" and "htags -o" cause buffer underrun while 
reading file that contains '\0'.
        
        $ env EF_PROTECT_BELOW=1 ef global -gox 'foobar'
        /usr/bin/ef: line 20: 22474 Segmentation fault      (core dumped) ( 
export LD_PRELOAD=libefence.so.0.0; exec $* )
        
        #0  strbuf_fgets (sb=0x2aaaaabd4000, ip=0x2aaaaac16000, flags=2) at 
../../global/libutil/strbuf.c:333
        333                     if (*(sb->curp - 1) == '\n')

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/global/libutil/strbuf.c?cvsroot=global&r1=1.34&r2=1.35




reply via email to

[Prev in Thread] Current Thread [Next in Thread]