1bae088edb428672a48c02abd9ef6d889afe0af6
When parsing a truncated clearsigned message (one that includes the opening header but no armored data), the existing implementation of clearsign.Decode() hangs in an infinite loop. This commit changes Decode() to detect the end of the buffer and return as if no clearsigned message was found. Change-Id: Ibc85b29a08d22868470f48fe300bf8fcb4749768 Reviewed-on: https://go-review.googlesource.com/17693 Reviewed-by: Adam Langley <agl@golang.org>
This repository holds supplementary Go cryptography libraries. To submit changes to this repository, see http://golang.org/doc/contribute.html.
Description
Mirror of ys-ll/crypto (GitHub), kept for paraterm builds
https://golang.org/x/crypto
8.1 MiB
Languages
Go
88.6%
Assembly
11.1%
C
0.3%