Open Bug 495404 Opened 16 years ago Updated 6 years ago

If mail contains NULL(0x00), data after NULL character is lost upon copy from local folder to local folder, and headers of next mail is displayed(mismatch between real data length in folder file and mail length in .msf)

Categories

(MailNews Core :: Database, defect)

x86
Windows XP
defect
Not set
critical

Tracking

(Not tracked)

People

(Reporter: World, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: dataloss, testcase)

Attachments

(1 file)

If mail contains NULL(0x00), data after NULL is lost upon copy from local folder to local folder, and headers of next mail is displayed. (mismatch between real data length in folder file and mail length in .msf) This bug is "local folder" version of Bug 477799, and is spin-off of Bug 477799 Comment #9 and Bug 482486 Comment #40 & 41. [Steps to produce] 1. Download attached mail box file to Mail directory 2. Copy 4 mails(Select All) to a local folder 3. View mail souce at copy target folder 4. Check mail folder file content of copy target folder. Data generated by copy and phenomenon depended on Tb version. Tb 2.0.0.19(Bug 477799 Comment #9): Mail data after 0x00 was replaced by 0x20. Tb 2.0.0.21: Mail data including 0x00 was copied to target mail folder. No mail data loss when "copy to local folder". i.e. "copy to local folder" case of Bug 477799 is resolved by Tb 2.0.0.21. Tb trunk 2009/5/24 & 2009/5/27 build: (A) mail-1 to mail-3 : data after 0x00 is lost. View source displays top part of next mails too. => Mail offset is correct. => Mail length in .msf is obtained from original mail of copy, instead of really written data length. (B) mail-4(last mail): simply data after 0x00 is lost. Note: Test mail attached to this bug contains 0x00 in mail header. Test mail attached to Bug 482486 Comment #40 contains 0x00 in mail body.
Depends on: 477799
No longer depends on: 477799
Flags: blocking-thunderbird3?
Keywords: dataloss
bienvenu says we shouldn't be able to get NULLs by downloading mail, so not blocking.
Flags: blocking-thunderbird3? → blocking-thunderbird3-
FYI. As written in Bug 477799, mail with NUL(0x00) was imported from Outlook.
Blocks: 529953
Blocks: 477799
Severity: normal → critical
Keywords: testcase
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: