Commit Graph

5 Commits

Author SHA1 Message Date
Christopher Goes 2376f231c2
Rebase, update changelog & testcase 2018-05-01 14:00:23 +02:00
Christopher Goes db3a82fc97
Update changelog, add simple testcase 2018-05-01 13:52:49 +02:00
Christopher Goes 62fc3e2c49
Context-accessible logger field 2018-05-01 13:52:49 +02:00
mossid 442e677300 add CacheContext 2018-04-10 17:04:27 +02:00
Emmanuel Odeke cf91a059c9 types: Context.GetOp should never crash
Ensure that requesting version <= 0 doesn't
cause a runtime out of bounds dereference,
with a simple validation and accompanying tests
to ensure we never regress.

Since GetOp allows int64, it is fair game
that it should except out of range inputs,
plus this is an SDK so is bound to be abused
both unintentionally and intentionally.

Fixes #400
2018-02-06 14:48:07 -05:00