[PR #514] [MERGED] fix: possible panic in Headscale.scheduledDERPMapUpdateWorker #1454

Closed
opened 2025-12-29 02:30:08 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/514
Author: @aofei
Created: 3/18/2022
Status: Merged
Merged: 3/18/2022
Merged by: @kradalby

Base: mainHead: main


📝 Commits (3)

  • 1eafe96 fix: possible panic in Headscale.scheduledDERPMapUpdateWorker
  • c29af96 Merge branch 'main' into main
  • 4068a7b Merge branch 'main' into main

📊 Changes

1 file changed (+3 additions, -1 deletions)

View changed files

📝 derp.go (+3 -1)

📄 Description

There is a possible nil pointer dereference panic in the Headscale.scheduledDERPMapUpdateWorker. Such as when the embedded DERP server is disabled.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/juanfont/headscale/pull/514 **Author:** [@aofei](https://github.com/aofei) **Created:** 3/18/2022 **Status:** ✅ Merged **Merged:** 3/18/2022 **Merged by:** [@kradalby](https://github.com/kradalby) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (3) - [`1eafe96`](https://github.com/juanfont/headscale/commit/1eafe960b85eac57e1ad4331b15499a97b2f3adb) fix: possible panic in `Headscale.scheduledDERPMapUpdateWorker` - [`c29af96`](https://github.com/juanfont/headscale/commit/c29af96a194dfd49dcfa714af4b5dfefc44a42f9) Merge branch 'main' into main - [`4068a7b`](https://github.com/juanfont/headscale/commit/4068a7b00be1b84816fd77b458e6087adcebd4b1) Merge branch 'main' into main ### 📊 Changes **1 file changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `derp.go` (+3 -1) </details> ### 📄 Description There is a possible nil pointer dereference panic in the `Headscale.scheduledDERPMapUpdateWorker`. Such as when the embedded DERP server is disabled. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 02:30:08 +01:00
adam closed this issue 2025-12-29 02:30:08 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#1454