[PR #768] [MERGED] Fix slice bounds out of range in msg decryption #12968

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/768
Author: @pappz
Created: 3/28/2023
Status: Merged
Merged: 3/29/2023
Merged by: @pappz

Base: mainHead: fix/slice_bounds_out_of_range


📝 Commits (1)

  • 4575757 Fix slice bounds out of range in msg decryption

📊 Changes

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

View changed files

📝 encryption/encryption.go (+10 -4)

📄 Description

Describe your changes

Fix slice bounds out of range in msg decryption

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/768 **Author:** [@pappz](https://github.com/pappz) **Created:** 3/28/2023 **Status:** ✅ Merged **Merged:** 3/29/2023 **Merged by:** [@pappz](https://github.com/pappz) **Base:** `main` ← **Head:** `fix/slice_bounds_out_of_range` --- ### 📝 Commits (1) - [`4575757`](https://github.com/netbirdio/netbird/commit/45757579eba591ed28928c9a83fa075d544f253e) Fix slice bounds out of range in msg decryption ### 📊 Changes **1 file changed** (+10 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `encryption/encryption.go` (+10 -4) </details> ### 📄 Description ## Describe your changes Fix slice bounds out of range in msg decryption ## Issue ticket number and link ### 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#12968