[SERVER-54634] Fix memory leak in regexFindAll SBE builtin Created: 19/Feb/21  Updated: 29/Oct/23  Resolved: 22/Feb/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Bug Priority: Major - P3
Reporter: Nikita Lapkov (Inactive) Assignee: Nikita Lapkov (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Query Execution 2021-03-08
Participants:
Linked BF Score: 95

 Description   

The object allocated on this line will not be freed if this uassert fires, causing memory leak.



 Comments   
Comment by Githook User [ 22/Feb/21 ]

Author:

{'name': 'Nikita Lapkov', 'email': 'nikita.lapkov@mongodb.com', 'username': 'laplab'}

Message: SERVER-54634 Fix memory leak in regexFindAll SBE builtin
Branch: master
https://github.com/mongodb/mongo/commit/e7d1cce728991a6e930c86d7a1e7145507a34517

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