Closed Bug 1770146 Opened 2 years ago Closed 2 years ago

If vCard parsing fails, address book breaks

Categories

(Thunderbird :: Address Book, defect)

Thunderbird 102
defect

Tracking

(thunderbird102 fixed)

RESOLVED FIXED
102 Branch
Tracking Status
thunderbird102 --- fixed

People

(Reporter: freaktechnik, Assigned: freaktechnik)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

If the parsing of a vCard fails (for example because of an invalid line, where instead of an address having \n it has an actual newline) the entire address book seems to break. As a result of the parsing error _vCardProperties is undefined in AddrBookCard.jsm and thus a bunch of code that assumes that the property will always have its methods fail.

Severity: -- → S2
Version: unspecified → Thunderbird 102
Assignee: nobody → martin
Status: NEW → ASSIGNED

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/5f8f46fb9fea
Ensure that an AddrBookCard always has vCardProperties. r=#thunderbird-reviewers,darktrojan

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
Blocks: tb102found
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: