aboutsummaryrefslogtreecommitdiff
path: root/website/static/security/patches/SA-25:08/openssl-13.patch
diff options
context:
space:
mode:
Diffstat (limited to 'website/static/security/patches/SA-25:08/openssl-13.patch')
-rw-r--r--website/static/security/patches/SA-25:08/openssl-13.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/website/static/security/patches/SA-25:08/openssl-13.patch b/website/static/security/patches/SA-25:08/openssl-13.patch
new file mode 100644
index 0000000000..ff46f32c81
--- /dev/null
+++ b/website/static/security/patches/SA-25:08/openssl-13.patch
@@ -0,0 +1,11 @@
+--- crypto/openssl/crypto/cms/cms_pwri.c.orig
++++ crypto/openssl/crypto/cms/cms_pwri.c
+@@ -215,7 +215,7 @@
+ /* Check byte failure */
+ goto err;
+ }
+- if (inlen < (size_t)(tmp[0] - 4)) {
++ if (inlen < 4 + (size_t)tmp[0]) {
+ /* Invalid length value */
+ goto err;
+ }