[SERVER-43971] MQLRUN crashes if pipeline is specified in file Created: 11/Oct/19  Updated: 29/Oct/23  Resolved: 15/Jan/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.2.4, 4.3.3

Type: Bug Priority: Major - P3
Reporter: David Golub Assignee: David Golub
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.2
Participants:

 Description   

When MQLRUN is launched with the pipeline to run specified in a file instead of directly on the command line, we get a null pointer exception because the ExpressionContext defined at mqlrun.cpp:55 is never initialized.



 Comments   
Comment by Githook User [ 30/Jan/20 ]

Author:

{'username': 'dgolub', 'name': 'David Golub', 'email': 'david.golub@mongodb.com'}

Message: SERVER-43971 Fix null pointer in mqlrun

(cherry picked from commit 336fae2dff0c0d6164b11dc4772d72ee08114c0c)
Branch: v4.2
https://github.com/10gen/mongo-enterprise-modules/commit/664e49e9a89f853c02f28ad64cca1b35a70f440a

Comment by David Storch [ 15/Jan/20 ]

The SERVER project workflow is to close a ticket as "Fixed" with the appropriate fixVersion when it is first committed to the master branch. Subsequent backport commits (tracked in the private BACKPORT project), can then be made against the closed ticket.

Comment by David Golub [ 15/Jan/20 ]

This is waiting on the linked backport ticket.

Comment by David Storch [ 15/Jan/20 ]

david.golub justin.seyster what's the status of this ticket? It's currently in "Needs Verification" state, but should it actually be closed as Fixed? I see a commit against it that appears to fix the issue.

Comment by Githook User [ 15/Oct/19 ]

Author:

{'name': 'David Golub', 'username': 'dgolub', 'email': 'david.golub@mongodb.com'}

Message: SERVER-43971 Fix null pointer in mqlrun
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/336fae2dff0c0d6164b11dc4772d72ee08114c0c

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