TUN-5995: Update prometheus to 1.12.1 to avoid vulnerabilities

This commit is contained in:
Nuno Diegues
2022-04-06 09:32:05 +01:00
parent a0f6eb9d5e
commit b12272529f
67 changed files with 2675 additions and 477 deletions

View File

@@ -193,7 +193,6 @@ func (d *Digest) UnmarshalBinary(b []byte) error {
b, d.v4 = consumeUint64(b)
b, d.total = consumeUint64(b)
copy(d.mem[:], b)
b = b[len(d.mem):]
d.n = int(d.total % uint64(len(d.mem)))
return nil
}