Package: icedove / 1:52.3.0-4~deb8u2

fixes/Load-dependent-libraries-with-their-real-path-to-avo.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Christoph Goehre <chris@sigxcpu.org>
Date: Mon, 16 Sep 2013 20:40:57 +0200
Subject: Load-dependent-libraries-with-their-real-path-to-avo

---
 mozilla/xpcom/glue/standalone/nsXPCOMGlue.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/mozilla/xpcom/glue/standalone/nsXPCOMGlue.cpp b/mozilla/xpcom/glue/standalone/nsXPCOMGlue.cpp
index b657d70..aa7bb01 100644
--- a/mozilla/xpcom/glue/standalone/nsXPCOMGlue.cpp
+++ b/mozilla/xpcom/glue/standalone/nsXPCOMGlue.cpp
@@ -148,6 +148,9 @@ AppendDependentLib(LibHandleType aLibHandle)
 static bool
 ReadDependentCB(pathstr_t aDependentLib, bool aDoPreload)
 {
+  char lib[MAXPATHLEN];
+  if (realpath(aDependentLib, lib))
+      aDependentLib = lib;
   if (aDoPreload) {
     ReadAheadLib(aDependentLib);
   }