What is the copyright of a patch waiting for approval?

James Boston <[email protected]> Tue, 17 Feb 2009 19:32:49 -0800 (PST)
Newsgroups gmane.comp.mozilla.license
Organization http://groups.google.com
Message-ID <8f75828d-3fbc-4a9a-a5bf-89ce28a83302@b16g2000yqb.googlegroups.com>
Here's the scenario:

Person 'A' submits a patch to bugzilla.mozilla.org. It's waiting to be
approved. Person 'B' comes along and see a snippet of code that would
be great for his patch to submit to mozilla. Is this allowed?

What is the copyright of the patch?

A slightly different scenario would be a patch that is not accepted
but someone else wants to take it and rework it.

I don't see any blurbs at developer.mozilla.org about whether or not
copyright is assigned, either at the time of submitting or after.