Skip to content

Conversation

@copybara-service
Copy link

sentry: fix panic in TTY TIOCSPGRP

Fix a nil pointer dereference panic when attempting to call SetForegroundProcessGroupID on a TTY that has lost its session leader.

Fixes: #11943
FUTURE_COPYBARA_INTEGRATE_REVIEW=#11945 from Champ-Goblem:patch/runsc-fix-tty-panic 5f3d16e

Fix a nil pointer dereference panic when attempting to call `SetForegroundProcessGroupID` on a TTY that has lost its session leader.

Fixes: #11943
Signed-off-by: Champ-Goblem <cameron@northflank.com>
@copybara-service copybara-service bot added the exported Issue was exported automatically label Jul 21, 2025
@copybara-service copybara-service bot merged commit 69d6da9 into master Jul 21, 2025
0 of 2 checks passed
@copybara-service copybara-service bot deleted the test/cl785553833 branch July 21, 2025 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

exported Issue was exported automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Panic in TTY IOCTL TIOCSPGRP

2 participants