prometheus/storage/local/codable
beorn7 ae286385fd storage: Check for negative values from varint decoding
Sadly, we have a number of places where we use varint encoding for
numbers that cannot be negative. We could have saved a bit by using
uvarint encoding. On the bright side, we now have a 50% chance to
detect data corruption. :-/

Fixes #1800 and #2492.
2017-04-04 19:14:52 +02:00
..
codable.go storage: Check for negative values from varint decoding 2017-04-04 19:14:52 +02:00
codable_test.go Fix storage/local tests for 32-bit systems 2015-04-30 14:19:48 -07:00