aboutsummaryrefslogtreecommitdiff
path: root/src/debug/elf/testdata
diff options
context:
space:
mode:
authorAdam Langley <agl@golang.org>2015-06-14 16:41:31 -0700
committerRuss Cox <rsc@golang.org>2015-06-26 16:16:51 +0000
commit4ec946ce95226b9e1b5258bdc3d46090d828d896 (patch)
tree6ea59f64a0ed2de59ab1932e2a7ea2075d086c58 /src/debug/elf/testdata
parentc248aaef7049c9c90af787d7fa91de378fa7e202 (diff)
downloadgo-4ec946ce95226b9e1b5258bdc3d46090d828d896.tar.xz
crypto/x509: don't panic when decrypting invalid PEM data.
If an encrypted PEM block contained ciphertext that was not a multiple of the block size then the code would panic. This change tests for that case and returns an error. Fixes #11215. Change-Id: I7b700f99e20810c4f545519b1e9d766b4640e8a7 Reviewed-on: https://go-review.googlesource.com/11097 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/debug/elf/testdata')
0 files changed, 0 insertions, 0 deletions