bug-rcs
[Top][All Lists]
Advanced

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

Re: RCS log gets up to large numbers of revisions then RCS will core dum


From: Paul Eggert
Subject: Re: RCS log gets up to large numbers of revisions then RCS will core dump
Date: Wed, 26 Oct 2016 12:24:38 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

Thanks for the bug report and test case. Although RCS 5.7 is two decades old and RCS has mutated quite a bit since then, there is a similar problem with the current code. I installed the attached patch to fix the problem for your test case. Some unbounded recursion still remains (marked with FIXME comments), though it should be less likely on real-world data.

You can get the latest source code in the 'p' branch here:

http://git.savannah.gnu.org/cgit/rcs.git

Attachment: 0001-int-Fix-stack-crash-for-long-branches.txt
Description: Text document


reply via email to

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