summaryrefslogtreecommitdiffstats
path: root/package/openssl/openssl-002-dont-force-large-file.patch
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2014-01-03 07:38:22 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-01-03 20:45:29 +0100
commit27a7ab51e39ed246f36fa8c39e7370545823ccff (patch)
treef9f3f85f6737370d036265862220a2b0989b1653 /package/openssl/openssl-002-dont-force-large-file.patch
parentb10a40535d5a69ba0fba44272e72657bf4e409a1 (diff)
downloadbuildroot-27a7ab51e39ed246f36fa8c39e7370545823ccff.tar.gz
buildroot-27a7ab51e39ed246f36fa8c39e7370545823ccff.zip
openssl: add fix for CVE-2013-6449
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/openssl/openssl-002-dont-force-large-file.patch')
-rw-r--r--package/openssl/openssl-002-dont-force-large-file.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/openssl/openssl-002-dont-force-large-file.patch b/package/openssl/openssl-002-dont-force-large-file.patch
new file mode 100644
index 0000000000..5b04656ff5
--- /dev/null
+++ b/package/openssl/openssl-002-dont-force-large-file.patch
@@ -0,0 +1,19 @@
+[patch]: bss_file.c: don't force largefile mode
+---
+ crypto/bio/bss_file.c | 3 ---
+ 1 file changed, 3 deletions(-)
+
+Index: openssl-0.9.8g/crypto/bio/bss_file.c
+===================================================================
+--- openssl-0.9.8g.orig/crypto/bio/bss_file.c
++++ openssl-0.9.8g/crypto/bio/bss_file.c
+@@ -78,9 +78,6 @@
+ * sequential access of large files without extra "magic" comprise *BSD,
+ * Darwin, IRIX...
+ */
+-#ifndef _FILE_OFFSET_BITS
+-#define _FILE_OFFSET_BITS 64
+-#endif
+ #endif
+
+ #include <stdio.h>
OpenPOWER on IntegriCloud