Commit c27efd5
committed
fix: copy entries slice before in-place reversal in ZRANGE
The legacy blob path returns the unmarshalled struct Entries slice
directly. Reversing it in-place could mutate shared backing memory.
Clone the slice before calling reverseZSetEntries.1 parent 010467e commit c27efd5
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1629 | 1629 | | |
1630 | 1630 | | |
1631 | 1631 | | |
| 1632 | + | |
1632 | 1633 | | |
1633 | 1634 | | |
1634 | 1635 | | |
| |||
0 commit comments