git: cvs: fix recently introduced, repeatable segfault

看板DFBSD_commit作者時間14年前 (2011/05/17 07:33), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 4e035039aa4f8f0cf53cabd9d68997ddac0a211c Author: John Marino <draco@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
文章代碼(AID): #1DqRH7pU (DFBSD_commit)