git: cvs: fix recently introduced, repeatable segfault

John Marino marino at crater.dragonflybsd.org
Sun May 8 12:49:24 PDT 2011


commit 4e035039aa4f8f0cf53cabd9d68997ddac0a211c
Author: John Marino <draco at marino.st>
Date:   Sun May 8 21:42:46 2011 +0200

    cvs: fix recently introduced, repeatable segfault
    
    In specific involving local cvs repositories, the newly refactored cvs
    would segfault.  It was traces back to libc's version of delim.  The
    previous version of cvs provided its own functions like getline and
    delim, but the recent change choose to use libc instead.
    
    This "fix" basically goes back to the provided version of delim.  There
    might be something wrong with the libc version.  It would work for a
    while, but eventually it segfaulted on a memcpy command.
    
    reported-by: swildner

Summary of changes:
 gnu/usr.bin/cvs/lib/Makefile       |    1 +
 gnu/usr.bin/cvs/lib/config.h.proto |    4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4e035039aa4f8f0cf53cabd9d68997ddac0a211c


-- 
DragonFly BSD source repository





More information about the Commits mailing list