镜像自地址
https://github.com/tuna/tunasync.git
已同步 2025-12-06 06:26:46 +00:00
Fix wrong usage of val in leveldb backend
这个提交包含在:
@@ -30,7 +30,7 @@ func (b *leveldbAdapter) GetAll(bucket string) (m map[string][]byte, err error)
|
||||
// it.Value() changes on next iteration
|
||||
val := it.Value()
|
||||
v := make([]byte, len(val))
|
||||
copy(v, it.Value())
|
||||
copy(v, val)
|
||||
m[actualKey] = v
|
||||
}
|
||||
return
|
||||
|
||||
在新工单中引用
屏蔽一个用户