[SERVER-26067] ViewDefinition access outside of lock in pipeline_command.cpp Created: 12/Sep/16  Updated: 19/Nov/16  Resolved: 13/Sep/16

Status: Closed
Project: Core Server
Component/s: Querying, Stability
Affects Version/s: None
Fix Version/s: 3.3.14

Type: Bug Priority: Major - P3
Reporter: James Wahlin Assignee: James Wahlin
Resolution: Done Votes: 0
Labels: read-only-views
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-25808 Test concurrent view modification for... Closed
Backwards Compatibility: Major Change
Operating System: ALL
Steps To Reproduce:

Reproducible via WIP view_catalog_cycle_lookup.js FSM test, which will be committed under SERVER-25808.

Participants:

 Description   

Access of ViewDefinition outside of lock to retrieve the default collation can lead to use after free. We should retrieve the default collation prior to lock release.



 Comments   
Comment by Githook User [ 13/Sep/16 ]

Author:

{u'username': u'jameswahlin', u'name': u'James Wahlin', u'email': u'james.wahlin@10gen.com'}

Message: SERVER-26067 Fix ViewDefinition access outside of lock
Branch: master
https://github.com/mongodb/mongo/commit/5fa0cd255af2bf7ba946e74dbe3f725d63bd68c7

Generated at Thu Feb 08 04:11:03 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.