[grisbi-cvs] [git push]Grisbi branch master updated. upstream_version_1_0_0-216-gfaf4df2

Rémi Cardona noreply at sourceforge.net
Fri Nov 20 00:31:36 CET 2015


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 "Grisbi".

The branch, master has been updated
       via  faf4df2988d792c33aa3374f98accfb903610cea (commit)
      from  21a9b3913ed947dab0256912689b610d9a0b29ce (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://grisbi.git.sourceforge.net/git/gitweb.cgi?p=grisbi/code;a=commitdiff;h=

commit faf4df2988d792c33aa3374f98accfb903610cea
Author: Rémi Cardona <remi at gentoo.org>
Date:   Tue Nov 17 00:26:25 2015 +0100

    Fix use-after-free in gtk_combofix
    
    entry_string is actually freed when gtk_combofix_set_text() is called
    in 2 places higher up in the function.

diff --git a/src/gtk_combofix.c b/src/gtk_combofix.c
index cb6bdf8..c8a83fe 100644
--- a/src/gtk_combofix.c
+++ b/src/gtk_combofix.c
@@ -1330,7 +1330,9 @@ static gboolean gtk_combofix_entry_changed ( GtkComboFix *combofix, gboolean ins
     }
 
     /* show the popup */
-    if ( priv -> visible_items && strlen ( entry_string )
+    if ( priv -> visible_items
+     &&
+     gtk_entry_get_text_length ( GTK_ENTRY ( combofix -> entry ) )
      &&
      completed_string
      &&

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

Summary of changes:
 src/gtk_combofix.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Grisbi


More information about the cvs mailing list