mirror of
https://github.com/juanfont/headscale.git
synced 2026-04-21 16:21:41 +02:00
The migration at db.go:680 appends validated tags to existing tags using append(existingTags, validatedTags...) where existingTags aliases node.Tags. When node.Tags has spare capacity, append writes into the shared backing array, and the subsequent slices.Sort corrupts the original. Clone existingTags before appending to prevent aliasing.
34 KiB
34 KiB