[YOCTO #978] from 2.7.7 fixes CVE-2010-4008 (From OE-Core rev: cd13726f1eb1f77f55cf202830d6bf13b47b0860) Signed-off-by: Qing He <qing.he@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 lines
439 B
Diff
23 lines
439 B
Diff
Upstream-Status: Backport [from debian: bugs.debian.org/439843]
|
|
|
|
---
|
|
libxml.h | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
--- libxml2-2.6.29.orig/libxml.h
|
|
+++ libxml2-2.6.29/libxml.h
|
|
@@ -11,10 +11,13 @@
|
|
|
|
#ifndef NO_LARGEFILE_SOURCE
|
|
#ifndef _LARGEFILE_SOURCE
|
|
#define _LARGEFILE_SOURCE
|
|
#endif
|
|
+#ifndef _LARGEFILE64_SOURCE
|
|
+#define _LARGEFILE64_SOURCE
|
|
+#endif
|
|
#ifndef _FILE_OFFSET_BITS
|
|
#define _FILE_OFFSET_BITS 64
|
|
#endif
|
|
#endif
|
|
|