3ca766b2f1
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.) |
||
---|---|---|
.. | ||
commands.go | ||
hasher.go | ||
hasher_internal_test.go | ||
hasher_test.go | ||
kv.go | ||
object.go |