This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: PATCH: fix buffer overrun in natFile.cc
- To: Jeff Sturm <jsturm at one-point dot com>
- Subject: Re: PATCH: fix buffer overrun in natFile.cc
- From: Tom Tromey <tromey at redhat dot com>
- Date: 31 May 2001 10:44:52 -0600
- Cc: java-patches at gcc dot gnu dot org
- References: <Pine.LNX.4.10.10105310042460.11818-100000@mars.deadcafe.org>
- Reply-To: tromey at redhat dot com
>>>>> "Jeff" == Jeff Sturm <jsturm@one-point.com> writes:
Jeff> (Note that the readdir fallback should really be protected by a
Jeff> mutex. I didn't try to fix that.)
I think this is as easy as putting this before the second `while':
JvSynchronize sync (&java::io::File::class$);
If you want to, feel free to check in a patch that does that. I don't
think that fix is particularly important for the branch though.
Tom