[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: |
Petter Reinholdtsen |
Subject: |
[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-1838-g8c0fd7d |
Date: |
Thu, 16 Jan 2014 15:04:06 +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 8c0fd7d7d6c4ea226a07267cc9efeae89cd5231b (commit)
from d081688e34bce732f35decd3cd4826ed799ff564 (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=8c0fd7d7d6c4ea226a07267cc9efeae89cd5231b
commit 8c0fd7d7d6c4ea226a07267cc9efeae89cd5231b
Author: Petter Reinholdtsen <address@hidden>
Date: Thu Jan 16 16:03:57 2014 +0100
Make sure NPN_GetProperty() return the requested value in the test
code (Coverity CID 1154672).
diff --git a/plugin/npapi/test.cpp b/plugin/npapi/test.cpp
index 5b57fe0..dcaaffa 100644
--- a/plugin/npapi/test.cpp
+++ b/plugin/npapi/test.cpp
@@ -439,7 +439,7 @@ NPN_GetProperty(NPP, NPObject* , NPIdentifier name,
std::map<NPIdentifier, NPVariant *>::iterator it;
it = _properties.find(name);
if (it == _properties.end()) return false;
- value = it->second;
+ *value = it->second;
return true;
}
-----------------------------------------------------------------------
Summary of changes:
plugin/npapi/test.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
Gnash
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-1838-g8c0fd7d,
Petter Reinholdtsen <=