Eric Chiang f0e8d0fe7c attest: fix another unbounded memory allocation
@brandonweeks detected another case of the "make([]T, untrustedValue)"
pattern, which would allow an attacker to cause the parser to allocate
an unbounded amount of memory.

Fix this by reading one algorithm at a time instead of pre-allocating a
slice of algorithms.
2019-10-09 08:39:15 -07:00
..
2019-10-09 08:56:19 +11:00
2019-10-09 08:56:19 +11:00
2019-10-09 08:56:19 +11:00
2019-10-09 10:05:21 +11:00
2019-10-09 08:56:19 +11:00
2019-10-09 08:56:19 +11:00
2019-10-09 08:56:19 +11:00
2019-10-09 08:56:19 +11:00
2019-10-09 10:05:21 +11:00
2019-10-09 08:56:19 +11:00
2019-10-09 10:05:21 +11:00
2019-10-09 08:56:19 +11:00
2019-10-09 08:56:19 +11:00
2019-10-09 10:05:21 +11:00
2019-10-09 10:05:21 +11:00
2019-08-21 10:26:55 -07:00
2019-10-09 08:56:19 +11:00
2019-10-09 10:05:21 +11:00
2019-08-06 16:47:13 -07:00