[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: gaf.git: branch: master updated (1.7.2-20111231-25-g2f30211)



The branch, master has been updated
       via  2f30211e0b0ae7aaac0b57b50a73331e89402b4f (commit)
      from  8342bddce4487edf4a7214d5d6ab83cb73a066d4 (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.


=========
 Summary
=========

 libgeda/src/o_picture.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


=================
 Commit Messages
=================

commit 2f30211e0b0ae7aaac0b57b50a73331e89402b4f
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>

    libgeda: Fix possible access-after-free in o_picture_read().

:100644 100644 43b1124... 132e2e1... M	libgeda/src/o_picture.c

=========
 Changes
=========

commit 2f30211e0b0ae7aaac0b57b50a73331e89402b4f
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>

    libgeda: Fix possible access-after-free in o_picture_read().

diff --git a/libgeda/src/o_picture.c b/libgeda/src/o_picture.c
index 43b1124..132e2e1 100644
--- a/libgeda/src/o_picture.c
+++ b/libgeda/src/o_picture.c
@@ -114,6 +114,7 @@ OBJECT *o_picture_read (TOPLEVEL *toplevel,
   if (strlen (filename) == 0) {
     s_log_message (_("Found an image with no filename."));
     g_free (filename);
+    filename = NULL;
   }
 
   if (embedded == 1) {




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs