mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 23:55:51 +03:00
[GH-ISSUE #162] Audit: Fix nil pointer dereference risk in shared.go #43
Labels
No labels
bug
bug
documentation
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/App-Store-Connect-CLI#43
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rudrankriyam on GitHub (Jan 25, 2026).
Original GitHub issue: https://github.com/rudrankriyam/App-Store-Connect-CLI/issues/162
Description
cmd/shared.go:174-178has a potential nil pointer dereference:If
config.Load()returnsnil, nil(when config file doesn't exist), the subsequent access tocfg.AppIDwill panic.Impact
Location
cmd/shared.go:174-178Fix
Add explicit nil check for
cfg:Severity
High
@rudrankriyam commented on GitHub (Jan 25, 2026):
Closed via #170.