frostfs-node/pkg/local_object_storage
Leonard Lyubich f9bcb6f5e3 [#1007] metabase: Copy BoltDB value returned by IsSmall
According to BoltDB documentation bucket `value is only valid for the
life of the transaction`.

Make `DB.IsSmall` copy value slice in order to prevent potential memory
corruptions (e.g. `runtime.stringtobyteslice` cast).

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-12-07 18:59:42 +03:00
..
blobovnicza [#979] Upgrade SDK NeoFS Go dependency 2021-12-01 17:31:04 +03:00
blobstor [#979] Upgrade SDK NeoFS Go dependency 2021-12-01 17:31:04 +03:00
engine [#979] Upgrade SDK NeoFS Go dependency 2021-12-01 17:31:04 +03:00
internal/log [#790] storage engine: Add common template of log messages 2021-09-13 15:02:13 +03:00
metabase [#1007] metabase: Copy BoltDB value returned by IsSmall 2021-12-07 18:59:42 +03:00
shard [#979] Upgrade SDK NeoFS Go dependency 2021-12-01 17:31:04 +03:00
util *: replace neofs-api-go with neofs-sdk-go 2021-11-12 17:29:09 +03:00
writecache *: replace neofs-api-go with neofs-sdk-go 2021-11-12 17:29:09 +03:00