Closed Bug 457698 Opened 16 years ago Closed 16 years ago

nsNavHistoryFolderResultNode::OnItemAdded ignores dynamic containers

Categories

(Firefox :: Bookmarks & History, defect)

defect
Not set
critical

Tracking

()

VERIFIED FIXED
Firefox 3.1b2

People

(Reporter: mak, Assigned: mak)

References

Details

(Keywords: crash)

Attachments

(1 file)

nsNavHistoryFolderResultNode::OnItemAdded does not check for TYPE_DYNAMIC_CONTAINER, so when calling node->mBookmarkIndex = aIndex; we badly crash
raise to critical due to crash
Severity: normal → critical
Attached patch patchSplinter Review
with unit crashtest
Attachment #340926 - Flags: review?(dietrich)
Blocks: 453530
Flags: in-testsuite?
Comment on attachment 340926 [details] [diff] [review]
patch

r=me
Attachment #340926 - Flags: review?(dietrich) → review+
http://hg.mozilla.org/mozilla-central/rev/a031f60917f2
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Flags: in-testsuite? → in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.1b2
verified: assumes unit test is not crashing
Status: RESOLVED → VERIFIED
Bug 451915 - move Firefox/Places bugs to Firefox/Bookmarks and History. Remove all bugspam from this move by filtering for the string "places-to-b-and-h".

In Thunderbird 3.0b, you do that as follows:
Tools | Message Filters
Make sure the correct account is selected. Click "New"
Conditions: Body   contains   places-to-b-and-h
Change the action to "Delete Message".
Select "Manually Run" from the dropdown at the top.
Click OK.

Select the filter in the list, make sure "Inbox" is selected at the bottom, and click "Run Now". This should delete all the bugspam. You can then delete the filter.

Gerv
Component: Places → Bookmarks & History
QA Contact: places → bookmarks
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: