This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PATCH: fix buffer overrun in natFile.cc


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]