summaryrefslogtreecommitdiffstats
path: root/subversion-1.7.4-kwallet2.patch
blob: d27df98502d1619d0c452c0e1b1131391a74a91b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

Possible fix/workaround for dubious pointer derefs in #810861.

--- subversion-1.7.4/subversion/libsvn_auth_kwallet/kwallet.cpp.kwallet
+++ subversion-1.7.4/subversion/libsvn_auth_kwallet/kwallet.cpp
@@ -175,6 +175,10 @@ kwallet_terminate(void *data)
                    "kwallet-initialized",
                    APR_HASH_KEY_STRING,
                    NULL);
+      apr_hash_set(parameters,
+                   "kwallet-wallet",
+                   APR_HASH_KEY_STRING,
+                   NULL);
     }
   return APR_SUCCESS;
 }