rclone/backend/hasher
nielash 3ca766b2f1 hasher: fix invalid memory address error when MaxAge == 0
When f.opt.MaxAge == 0, f.db is never set, however several methods later assume
it is set and attempt to access it, causing an invalid memory address error.
This change fixes the issue in a few spots (there may still be others I haven't
yet encountered.)
2024-01-02 18:14:01 +00:00
..
commands.go hasher: fix invalid memory address error when MaxAge == 0 2024-01-02 18:14:01 +00:00
hasher.go hasher: fix invalid memory address error when MaxAge == 0 2024-01-02 18:14:01 +00:00
hasher_internal_test.go hasher: fix invalid memory address error when MaxAge == 0 2024-01-02 18:14:01 +00:00
hasher_test.go hasher: fix invalid memory address error when MaxAge == 0 2024-01-02 18:14:01 +00:00
kv.go hashsum: support creating hash from data received on stdin 2021-11-11 15:16:45 +01:00
object.go Replace deprecated ioutil 2022-11-07 11:41:47 +00:00