Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Oct 2014 20:41:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-testing@freebsd.org
Subject:   [Bug 193499] [tests] usr.bin/yacc/err_syntax27.error failures with the latest kyua
Message-ID:  <bug-193499-32464-LqEUAfYmIk@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-193499-32464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-193499-32464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193499

--- Comment #8 from Craig Rodrigues <rodrigc@FreeBSD.org> ---
I managed to get rid of the valgrind errors with this patch to byacc:

Index: contrib/byacc/reader.c
===================================================================
--- contrib/byacc/reader.c      (revision 272333)
+++ contrib/byacc/reader.c      (working copy)
@@ -134,6 +134,7 @@
     for (;;)
     {
        line[i] = (char)c;
+       line[i + 1] = 0;
        if (c == '\n')
            break;
        if (++i >= linesize)

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-193499-32464-LqEUAfYmIk>