Skip to content

Fix potentially unsafe call in signal handler - #76549

Merged
yakov-olkhovskiy merged 5 commits into
masterfrom
fix-copy-new-from-signal
Feb 21, 2025
Merged

yakov-olkhovskiy merged 5 commits into
masterfrom
fix-copy-new-from-signal

Conversation

@yakov-olkhovskiy

@yakov-olkhovskiy yakov-olkhovskiy commented Feb 20, 2025 •

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

Fix potentially unsafe call in signal handler.

closes #76548

@clickhouse-gh

clickhouse-gh Bot commented Feb 20, 2025 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [9718ddd]

@clickhouse-gh clickhouse-gh Bot added the pr-bugfix Pull request with bugfix, not backported by default label Feb 20, 2025
@yakov-olkhovskiy

Copy link
Copy Markdown
Member Author

cc @nickitat @antonio2368

Comment thread src/Common/Exception.h Outdated
ThreadFramePointersBase frame_pointers;
};
static thread_local ThreadFramePointers thread_frame_pointers;
static ThreadFramePointersBase dummy_frame_pointers;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

const?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

yeah... just doing it on the fly...

@nikitamikhaylov nikitamikhaylov self-assigned this Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-not-for-changelog This PR should not be mentioned in the changelog pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Job stack traces reporting in signal handler is not safe.

4 participants