[SERVER-73226] Fix parsing of readelf output in crypt_run_tests.sh Created: 23/Jan/23  Updated: 29/Oct/23  Resolved: 24/Jan/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.3.0-rc0

Type: Bug Priority: Major - P3
Reporter: Erwin Pe Assignee: Erwin Pe
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: Security 2023-02-06
Participants:
Linked BF Score: 35

 Description   

The crypt_run_tests.sh script tests that the symbols exported by the mongo_crypt_v1.so shared library match the expected symbols. It does so by parsing the output of the readelf command. However, the script that does this parsing assumes that the symbol name is always at the end of each line/record, but this is not always the case in some platforms.



 Comments   
Comment by Githook User [ 24/Jan/23 ]

Author:

{'name': 'Erwin Pe', 'email': 'erwin.pe@mongodb.com', 'username': 'erwee'}

Message: SERVER-73226 Fix parsing of readelf output in crypt_run_tests.sh
Branch: master
https://github.com/mongodb/mongo/commit/e190fc5eceba9ca6eab603cc6664ffe02f8ec7b1

Generated at Thu Feb 08 06:24:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.