summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Lidén Borell <samuel@slbdata.se>2010-02-19 11:34:37 +0100
committerSamuel Lidén Borell <samuel@slbdata.se>2010-02-19 11:35:49 +0100
commit8863dad38877d0455618fb9f39d87f19b8cb22f2 (patch)
tree843665d64606a9246e459237e5572b1e63b057bc
parentb83b38248b180dcca5dbf4eff5aa34b1fb8e0c48 (diff)
downloadfribid-8863dad38877d0455618fb9f39d87f19b8cb22f2.tar.gz
fribid-8863dad38877d0455618fb9f39d87f19b8cb22f2.tar.bz2
fribid-8863dad38877d0455618fb9f39d87f19b8cb22f2.zip
Updated the changelog and fixed indentation
-rw-r--r--CHANGELOG2
-rw-r--r--client/main.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 190e2fc..3f03681 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -4,6 +4,8 @@
("zombies") to be left around.
* Added a "fuzzer" script that can be used to check for bugs.
* Compatibility with Google Chrome / Chromium.
+ * Prevent the password from getting swapped out. Thanks to Linus Walleij
+ for this patch!
0.1.0 - 2010-02-03
* All occurances of the password in RAM are now cleared when they are
diff --git a/client/main.c b/client/main.c
index cfdebb8..d6d102c 100644
--- a/client/main.c
+++ b/client/main.c
@@ -127,7 +127,7 @@ void pipeData() {
free(p12Data);
keyfile_freeSubject(person);
memset(password, 0, strlen(password));
- munlock(password, strlen(password));
+ munlock(password, strlen(password));
free(password);
if (error == BIDERR_OK) break;