netbirdio / netbird

Connect your devices into a single secure private WireGuard®-based mesh network with SSO/MFA and simple access controls.
https://netbird.io
BSD 3-Clause "New" or "Revised" License
9.81k stars 426 forks source link

Fix capacity of slice #2148

Closed pappz closed 2 weeks ago

pappz commented 2 weeks ago

Fix nil pointer crash in setInitialClientRoutes.go:34. In the slice the first element could be nil, because of the incorrect slice initialization.

Describe your changes

Issue ticket number and link

Checklist