Skip to content

fix: numerous vulnerabilities in native code#940

Merged
traeok merged 38 commits intomainfrom
fix/vulns
Apr 23, 2026
Merged

fix: numerous vulnerabilities in native code#940
traeok merged 38 commits intomainfrom
fix/vulns

Conversation

@traeok
Copy link
Copy Markdown
Member

@traeok traeok commented Apr 15, 2026

What It Does

Resolves numerous vulnerabilities in the code (both C++ and Metal C) to improve codebase stability.

How to Test

  • npm run z:rebuild && npm run z:test should succeed w/o errors
  • Use VSCE as normal - all features should remain functional 😋

Review Checklist
I certify that I have:

traeok added 17 commits April 14, 2026 11:27
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
@github-project-automation github-project-automation Bot moved this to New Issues in Zowe CLI Squad Apr 15, 2026
@zowe-robot zowe-robot moved this from New Issues to In Progress in Zowe CLI Squad Apr 15, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 15, 2026

Comment thread native/c/zjbm.c Fixed
Comment thread native/c/zjbm.c Fixed
Comment thread native/c/zjbm.c Fixed
Comment thread native/c/ztype.h
Comment thread native/c/ztype.h Outdated
Comment thread native/c/zlogger_metal.c Outdated
traeok added 2 commits April 15, 2026 11:29
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Comment thread native/c/zjbm.c Fixed
Comment thread native/c/zjbm.c Fixed
Copy link
Copy Markdown
Member

@zFernand0 zFernand0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes MSTM! 😋

I'm still missing a few files, and there are some things that I'm unsure about, so I'd like to do some testing before approving.
And perhaps discuss offline some of them as well 🙏

Comment thread native/c/zcnm31.c Outdated
Comment thread native/c/zcnm31.c
Comment thread native/c/zcnm31.c Outdated
Comment thread native/c/zds.cpp Outdated
Comment thread native/c/ztype.h
Comment thread native/c/zjbm.h Outdated
Comment thread native/c/zut.cpp
Comment thread native/c/zut.cpp
Comment thread native/c/zutm.c Outdated
Comment thread native/c/zusf.cpp
Comment thread native/c/zdstype.h
Comment thread native/c/zjb.cpp Outdated
traeok added 3 commits April 20, 2026 07:25
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
@traeok traeok requested review from dkelosky and zFernand0 April 20, 2026 14:20
traeok added 2 commits April 20, 2026 11:14
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
@traeok traeok changed the title fix: numerous vulnerabilities in code fix: numerous vulnerabilities in native code Apr 21, 2026
Copy link
Copy Markdown
Member

@zFernand0 zFernand0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 😋

Again, some dumb comments/questions for my own understanding, but generally this looks good to me and prevents a ton of UB going forward 🙏

Comment thread native/c/zutm.c Outdated
Comment thread native/c/zjbm.c
Comment thread native/c/zjson.hpp
Comment thread native/c/zlogger_metal.c
Comment thread native/c/zlogger_metal.c
Comment thread native/c/zam24.s
traeok added 4 commits April 23, 2026 09:33
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Copy link
Copy Markdown
Member

@t1m0thyj t1m0thyj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @traeok, just one comment 😋

Comment thread native/c/zdstype.h
traeok added 2 commits April 23, 2026 17:03
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
@traeok traeok requested a review from t1m0thyj April 23, 2026 21:17
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
@sonarqubecloud
Copy link
Copy Markdown

@traeok traeok merged commit bade6f9 into main Apr 23, 2026
13 checks passed
@traeok traeok deleted the fix/vulns branch April 23, 2026 21:55
@github-project-automation github-project-automation Bot moved this from Review/QA to Closed in Zowe CLI Squad Apr 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Closed

Development

Successfully merging this pull request may close these issues.

7 participants