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


_______________________________________________
Global-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/global-commit

Reply via email to