Closed Bug 777582 Opened 12 years ago Closed 12 years ago

nsPrincipal deserializes members in wrong order

Categories

(Core :: Security: CAPS, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla17
Tracking Status
firefox17 + fixed

People

(Reporter: wchen, Assigned: wchen)

References

Details

(Whiteboard: [qa-])

Attachments

(1 file)

The order in which members are deserialized do not match the order in which they are serialized.
Is this a regression from bug 758258?

If so, we need to make sure we fix before this goes on Aurora (and in fact fix ASAP), since this presumably causes sessionstore dataloss...
Blocks: 758258
Attachment #645957 - Flags: review?(mounir) → review+
Keywords: checkin-needed
(In reply to Boris Zbarsky (:bz) from comment #2)
> Is this a regression from bug 758258?
> 
> If so, we need to make sure we fix before this goes on Aurora (and in fact
> fix ASAP), since this presumably causes sessionstore dataloss...

Yes, this is a regression caused by bug 758258. Here in particular: http://hg.mozilla.org/mozilla-central/diff/04d93909f3de/caps/src/nsPrincipal.cpp
https://hg.mozilla.org/mozilla-central/rev/5b892ffb1ba9
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
Flagging [qa-] as I don't think this needs QA verification. Please correct me if I am wrong.
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: