[HTTPS-Everywhere] [PATCH] Fix typo resulting in variable leak in get_prefs()

Jérémy Bobbio lunar at debian.org
Mon Aug 5 16:03:05 PDT 2013


---

3.3.1 introduced a variable leak in the get_prefs() due to a typo.

diff --git a/src/components/https-everywhere.js
b/src/components/https-everywhere.js
index 438150f..b9bbb60 100644
--- a/src/components/https-everywhere.js
+++ b/src/components/https-everywhere.js
@@ -606,7 +606,7 @@ HTTPSEverywhere.prototype = {
   get_prefs: function(prefBranch = PREFBRANCH_ROOT) {
     // get our preferences branch object
     // FIXME: Ugly hack stolen from https
-    var branch_namel
+    var branch_name;
     if(prefBranch == PREFBRANCH_RULE_TOGGLE)
       branch_name = "extensions.https_everywhere.rule_toggle.";
     else


-- 
Jérémy Bobbio                        .''`. 
lunar at debian.org                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.eff.org/pipermail/https-everywhere/attachments/20130806/e85b8ebd/attachment.sig>


More information about the HTTPS-everywhere mailing list