[PR #765] [MERGED] Fix nil pointer exception when create config #12964

Closed
opened 2026-08-05 02:07:07 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/765
Author: @pappz
Created: 3/27/2023
Status: Merged
Merged: 3/27/2023
Merged by: @pappz

Base: mainHead: 764-panic-runtime-error-invalid-memory-address-or-nil-pointer-dereference-on-0145


📝 Commits (1)

  • 55c32f6 Fix nil pointer exception when create config

📊 Changes

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

View changed files

📝 client/server/server.go (+1 -1)

📄 Description

Describe your changes

The config stored in a wrong variable when has been generated a
new config

https://github.com/netbirdio/netbird/issues/764

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

🔄 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/netbirdio/netbird/pull/765 **Author:** [@pappz](https://github.com/pappz) **Created:** 3/27/2023 **Status:** ✅ Merged **Merged:** 3/27/2023 **Merged by:** [@pappz](https://github.com/pappz) **Base:** `main` ← **Head:** `764-panic-runtime-error-invalid-memory-address-or-nil-pointer-dereference-on-0145` --- ### 📝 Commits (1) - [`55c32f6`](https://github.com/netbirdio/netbird/commit/55c32f64896a3cbe6f47cb9fb868a53847265bde) Fix nil pointer exception when create config ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `client/server/server.go` (+1 -1) </details> ### 📄 Description ## Describe your changes The config stored in a wrong variable when has been generated a new config ## Issue ticket number and link https://github.com/netbirdio/netbird/issues/764 ### Checklist - [x] Is it a bug fix - [ ] Is a typo/documentation fix - [ ] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 02:07:07 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#12964