[Top][All Lists]

[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-1833-g6c3a4ce
Date: Tue, 14 Jan 2014 16:14:20 +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  6c3a4ce7c2c7fd286201cf6a4678ef4c35c9748b (commit)
       via  13df1e77541bff395159666931b0913db82be6e0 (commit)
      from  051fbd88c17fad4af03d69ad6b0cd04e9ac3c70f (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 -----------------------------------------------------------------

commit 6c3a4ce7c2c7fd286201cf6a4678ef4c35c9748b
Author: Petter Reinholdtsen <address@hidden>
Date:   Tue Jan 14 17:14:00 2014 +0100

    Add missing calls to va_end(args) in swfdec_gst_decoder_init() when
    something go wrong (Coverity CID 1149313).

diff --git a/libmedia/gst/swfdec_codec_gst.c b/libmedia/gst/swfdec_codec_gst.c
index 8be6067..6a62345 100644
--- a/libmedia/gst/swfdec_codec_gst.c
+++ b/libmedia/gst/swfdec_codec_gst.c
@@ -308,11 +308,13 @@ swfdec_gst_decoder_init (SwfdecGstDecoder *dec, GstCaps 
*srccaps, GstCaps *sinkc
     GstElement *next = gst_element_factory_make (name, NULL);
     if (next == NULL) {
       SWFDEC_ERROR ("failed to create '%s' element", name);
+      va_end (args);
       return FALSE;
     gst_bin_add (GST_BIN (dec->bin), next);
     if (!gst_element_link (decoder, next)) {
       SWFDEC_ERROR ("failed to link '%s' element to decoder", name);
+      va_end (args);
       return FALSE;
     decoder = next;

commit 13df1e77541bff395159666931b0913db82be6e0
Author: Petter Reinholdtsen <address@hidden>
Date:   Tue Jan 14 17:11:18 2014 +0100

    Add missing va_end(ap) call to compile_actions() function (Coverity
    CID 1155112).

diff --git a/testsuite/misc-ming.all/ming_utils.c 
index eb77e7c..235cb63 100644
--- a/testsuite/misc-ming.all/ming_utils.c
+++ b/testsuite/misc-ming.all/ming_utils.c
@@ -385,6 +385,7 @@ compile_actions(const char* fmt, ...)
        tmp[BUFFER_SIZE-1] = '\0';
        ac = compileSWFActionCode(tmp);
+       va_end (ap);
        return ac;


Summary of changes:
 libmedia/gst/swfdec_codec_gst.c      |    2 ++
 testsuite/misc-ming.all/ming_utils.c |    1 +
 2 files changed, 3 insertions(+), 0 deletions(-)


reply via email to

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