From: Bert Wesarg <bert.wesarg@googlemail.com>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: Junio C Hamano <gitster@pobox.com>,
Jay Soffian <jaysoffian@gmail.com>,
git@vger.kernel.org
Subject: Re: [PATCH] get_ref_states: strdup entries and free util in stale list
Date: Tue, 1 Dec 2009 16:53:02 +0100 [thread overview]
Message-ID: <36ca99e90912010753g1adc13e5v7e2a2b1eebc75183@mail.gmail.com> (raw)
In-Reply-To: <36ca99e90912010105r428a7bfdw63928e8a5515bd1d@mail.gmail.com>
On Tue, Dec 1, 2009 at 10:05, Bert Wesarg <bert.wesarg@googlemail.com> wrote:
> On Tue, Dec 1, 2009 at 09:35, Johannes Schindelin
>> Thanks. I trust you ran the test suite with valgrind just to make sure?
> Not the test suite. But my use case where I found the problem (Ie.
> cut-off branch names) which was 'git remote show <remote>'.
> There are still invalid reads of size 4. I think the problem is the
> flex array member of 'struct ref' and strlen(). If its worth I can
> look into this.
I need this new suppression to run the test suite:
diff --git i/t/valgrind/default.supp w/t/valgrind/default.supp
index 9e013fa..39b080a 100644
--- i/t/valgrind/default.supp
+++ w/t/valgrind/default.supp
@@ -43,3 +43,10 @@
fun:write_buffer
fun:write_loose_object
}
+
+{
+ writing-data-from-zlib-triggers-even-more-errors-2
+ Memcheck:Param
+ write(buf)
+ obj:*libpthread-*.so
+}
Bert
next prev parent reply other threads:[~2009-12-01 15:53 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-30 23:57 [PATCH] get_ref_states: strdup entries and free util in stale list Bert Wesarg
2009-12-01 0:21 ` Junio C Hamano
2009-12-01 6:49 ` Bert Wesarg
2009-12-01 7:34 ` Junio C Hamano
2009-12-01 9:32 ` Bert Wesarg
2009-12-01 17:20 ` Junio C Hamano
2009-12-01 18:14 ` Bert Wesarg
2009-12-01 19:20 ` Junio C Hamano
2009-12-01 8:35 ` Johannes Schindelin
2009-12-01 9:05 ` Bert Wesarg
2009-12-01 15:53 ` Bert Wesarg [this message]
2009-12-01 18:20 ` Bert Wesarg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=36ca99e90912010753g1adc13e5v7e2a2b1eebc75183@mail.gmail.com \
--to=bert.wesarg@googlemail.com \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=jaysoffian@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).