Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(kitexutil): check if address is nil when GetCallerAddress to prevent panic #1690

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

ppzqh
Copy link
Contributor

@ppzqh ppzqh commented Feb 10, 2025

What type of PR is this?

fix

Check the PR title.

  • This PR title match the format: <type>(optional scope): <description>
  • The description of this PR title is user-oriented and clear enough for others to understand.
  • Attach the PR updating the user documentation if the current PR requires user awareness at the usage level. User docs repo

(Optional) Translate the PR title into Chinese.

zh: fix(kitexutil): GetCallerAddress 检查 address 是否为空以避免 panic

(Optional) More detailed description for this PR(en: English/zh: Chinese).

en:
zh(optional):

(Optional) Which issue(s) this PR fixes:

(optional) The PR that updates user documentation:

@ppzqh ppzqh requested review from a team as code owners February 10, 2025 03:29
@ppzqh ppzqh force-pushed the fix/kitexutil_addr branch from bb4a79e to 6241434 Compare February 10, 2025 03:31
@ppzqh ppzqh changed the title fix: check if address is nil when GetCallerAddress to prevent panic fix(kitexutil): check if address is nil when GetCallerAddress to prevent panic Feb 10, 2025
@ppzqh ppzqh force-pushed the fix/kitexutil_addr branch from 6241434 to dcc412e Compare February 10, 2025 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants