Skip to content

Fixes thread_cancel crash issue #14392

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

Closed

Conversation

inspurSDN
Copy link

@inspurSDN inspurSDN commented Mar 23, 2023

Why I did it

fixes thread_cancel will lead to core dump, make thread pointer to NULL while deleting it.

How I did it

make pointer list and thr in do_thread_cancel() to NULL

How to verify it

check list and thread_array is NULL

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211

Description for the changelog

make pointer list and thr in do_thread_cancel() to NULL

Ensure to add label/tag for the feature raised. example - PR#2174 under sonic-utilities repo. where, Generic Config and Update feature has been labelled as GCU.

Link to config_db schema for YANG module changes

N/A

A picture of a cute animal (not mandatory but encouraged)

ァ  ∧_∧ ァ,、
,、’( ´∀`) ,、’
 ( ⊃ ⊂)  ’

@inspurSDN inspurSDN requested a review from lguohan as a code owner March 23, 2023 07:13
@inspurSDN inspurSDN closed this Jul 2, 2024
@inspurSDN inspurSDN deleted the bugfix_thread_cancel_crash_err branch July 2, 2024 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant