[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: |
|
||||
| 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: |