gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-


From: Gabriele Giacone
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-1227-gfa481c1
Date: Sun, 20 Nov 2011 16:34:28 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".

The branch, master has been updated
       via  fa481c116e65ccf9137c7ddc8abc3cf05dc12f55 (commit)
      from  3dea0709b06a82ad8085d04daf86c9beff93d742 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=fa481c116e65ccf9137c7ddc8abc3cf05dc12f55


commit fa481c116e65ccf9137c7ddc8abc3cf05dc12f55
Author: Gabriele Giacone <address@hidden>
Date:   Sun Nov 20 17:27:42 2011 +0100

    Make cookie file not world-readable. Fixes http://bugs.debian.org/649384

diff --git a/plugin/npapi/plugin.cpp b/plugin/npapi/plugin.cpp
index e161a1d..04950e6 100644
--- a/plugin/npapi/plugin.cpp
+++ b/plugin/npapi/plugin.cpp
@@ -1108,6 +1108,7 @@ nsPluginInstance::setupCookies(const std::string& pageurl)
     ss << "/tmp/gnash-cookies." << getpid();
 
     cookiefile.open(ss.str().c_str(), std::ios::out | std::ios::trunc);
+    chmod (ss.str().c_str(), 0600);
 
     // Firefox provides cookies in the following format:
     //

-----------------------------------------------------------------------

Summary of changes:
 plugin/npapi/plugin.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

[Prev in Thread] Current Thread [Next in Thread]