azurelinux
azurelinux copied to clipboard
Bug 59253756: Fix ABI compatibility issues between libtinfo and libncurses for mtr package
Merge Checklist
All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)
- [x] The toolchain has been rebuilt successfully (or no changes were made to it)
- [x] The toolchain/worker package manifests are up-to-date
- [x] Any updated packages successfully build (or no packages were changed)
- [x] Packages depending on static components modified in this PR (Golang,
*-staticsubpackages, etc.) have had theirReleasetag incremented. - [x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
- [x] All package sources are available
- [x] cgmanifest files are up-to-date and sorted (
./cgmanifest.json,./toolkit/scripts/toolchain/cgmanifest.json,.github/workflows/cgmanifest.json) - [x] LICENSE-MAP files are up-to-date (
./LICENSES-AND-NOTICES/SPECS/data/licenses.json,./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md,./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON) - [x] All source files have up-to-date hashes in the
*.signatures.jsonfiles - [x]
sudo make go-tidy-allandsudo make go-test-coveragepass - [x] Documentation has been updated to match any changes to the build system
- [ ] Ready to merge
Summary
What does the PR accomplish, why was it needed? Bug 59253756: Fix ABI compatibility issues between libtinfo and libncurses for mtr package
Change Log
- To fix ABI compatibility issues between libtinfo and libncurses which caues segfault, prefer ncursesw else fall back to ncurses.
Does this affect the toolchain?
NO
Associated issues
- https://microsoft.visualstudio.com/OS/_workitems/edit/59253756
Links to CVEs
Test Methodology
- Pipeline build id: https://dev.azure.com/mariner-org/mariner/_build/results?buildId=984461&view=results Locally verified - Use libtinfo and libncurses both ABI 6 ->
After running command mtr ->