[Top][All Lists]

[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; exec $* )
        #0  strbuf_fgets (sb=0x2aaaaabd4000, ip=0x2aaaaac16000, flags=2) at 
        333                     if (*(sb->curp - 1) == '\n')


reply via email to

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