Tue, 06 Jan 2015 21:39:09 +0100
Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.
michael@0 | 1 | # Full list is tracked through meta bug 793882 |
michael@0 | 2 | |
michael@0 | 3 | #################### |
michael@0 | 4 | # Intended leaks # |
michael@0 | 5 | #################### |
michael@0 | 6 | |
michael@0 | 7 | { |
michael@0 | 8 | PR_SetEnv requires its argument to be leaked, but does not appear on stacks. (See bug 793534.) |
michael@0 | 9 | Memcheck:Leak |
michael@0 | 10 | ... |
michael@0 | 11 | fun:_ZL9SaveToEnvPKc |
michael@0 | 12 | ... |
michael@0 | 13 | } |
michael@0 | 14 | { |
michael@0 | 15 | PR_SetEnv requires its argument to be leaked, but does not appear on stacks. (See bug 793549.) |
michael@0 | 16 | Memcheck:Leak |
michael@0 | 17 | ... |
michael@0 | 18 | fun:_ZL13SaveWordToEnvPKcRK19nsACString_internal |
michael@0 | 19 | ... |
michael@0 | 20 | } |
michael@0 | 21 | { |
michael@0 | 22 | PR_SetEnv requires its argument to be leaked, but does not appear on stacks. (See bug 944133.) |
michael@0 | 23 | Memcheck:Leak |
michael@0 | 24 | ... |
michael@0 | 25 | fun:_ZN13CrashReporter14SetRestartArgsEiPPc |
michael@0 | 26 | ... |
michael@0 | 27 | } |
michael@0 | 28 | { |
michael@0 | 29 | PR_SetEnv requires its argument to be leaked, but does not appear on stacks. (See bug 793548.) |
michael@0 | 30 | Memcheck:Leak |
michael@0 | 31 | fun:malloc |
michael@0 | 32 | ... |
michael@0 | 33 | fun:_Z12ToNewCStringRK19nsACString_internal |
michael@0 | 34 | fun:_ZN13CrashReporter14SetupExtraDataEP7nsIFileRK19nsACString_internal |
michael@0 | 35 | ... |
michael@0 | 36 | } |
michael@0 | 37 | |
michael@0 | 38 | #################################### |
michael@0 | 39 | # Leaks in third party libraries # |
michael@0 | 40 | #################################### |
michael@0 | 41 | |
michael@0 | 42 | { |
michael@0 | 43 | See bug 793535 |
michael@0 | 44 | Memcheck:Leak |
michael@0 | 45 | fun:calloc |
michael@0 | 46 | fun:_dlerror_run |
michael@0 | 47 | fun:dlsym |
michael@0 | 48 | ... |
michael@0 | 49 | } |
michael@0 | 50 | { |
michael@0 | 51 | See bug 793611 |
michael@0 | 52 | Memcheck:Leak |
michael@0 | 53 | fun:memalign |
michael@0 | 54 | fun:tls_get_addr_tail |
michael@0 | 55 | fun:__tls_get_addr |
michael@0 | 56 | ... |
michael@0 | 57 | } |
michael@0 | 58 | { |
michael@0 | 59 | See bug 793611 |
michael@0 | 60 | Memcheck:Leak |
michael@0 | 61 | fun:memalign |
michael@0 | 62 | fun:tls_get_addr_tail |
michael@0 | 63 | fun:___tls_get_addr |
michael@0 | 64 | ... |
michael@0 | 65 | } |
michael@0 | 66 | |
michael@0 | 67 | ################# |
michael@0 | 68 | # Other leaks # |
michael@0 | 69 | ################# |
michael@0 | 70 | |
michael@0 | 71 | { |
michael@0 | 72 | Bug 794369 |
michael@0 | 73 | Memcheck:Leak |
michael@0 | 74 | fun:malloc |
michael@0 | 75 | fun:moz_xmalloc |
michael@0 | 76 | fun:_ZN20mozJSComponentLoader10LoadModuleERN7mozilla12FileLocationE |
michael@0 | 77 | ... |
michael@0 | 78 | } |
michael@0 | 79 | { |
michael@0 | 80 | Bug 794370 |
michael@0 | 81 | Memcheck:Leak |
michael@0 | 82 | fun:malloc |
michael@0 | 83 | fun:moz_xmalloc |
michael@0 | 84 | fun:_ZN22nsComponentManagerImpl15RegisterFactoryERK4nsIDPKcS4_P10nsIFactory |
michael@0 | 85 | ... |
michael@0 | 86 | } |
michael@0 | 87 | { |
michael@0 | 88 | Bug 794372 |
michael@0 | 89 | Memcheck:Leak |
michael@0 | 90 | fun:malloc |
michael@0 | 91 | fun:moz_xmalloc |
michael@0 | 92 | fun:_ZN22nsComponentManagerImpl22RegisterCIDEntryLockedEPKN7mozilla6Module8CIDEntryEPNS_11KnownModuleE |
michael@0 | 93 | ... |
michael@0 | 94 | } |
michael@0 | 95 | { |
michael@0 | 96 | Bug 794374 |
michael@0 | 97 | Memcheck:Leak |
michael@0 | 98 | fun:malloc |
michael@0 | 99 | fun:moz_xmalloc |
michael@0 | 100 | fun:_ZN22nsComponentManagerImpl17ManifestComponentERNS_25ManifestProcessingContextEiPKPc |
michael@0 | 101 | ... |
michael@0 | 102 | } |