[grisbi-cvs] [git push]Grisbi branch grisbi-1.0.x updated. upstream_version_1_0_0-47-g6fdec83

Pierre Biava noreply at sourceforge.net
Wed Aug 24 19:52:30 CEST 2016


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, grisbi-1.0.x has been updated
       via  6fdec839bf8d025435ce04b0276fae9fa8b4d6a5 (commit)
       via  1d4cebe677b171c109789c220c224d38e1b5855a (commit)
      from  45e7f8e08305787517c9019826bb330a855ec63b (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
      &&

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/bet_tab.c              |  136 +++++++++++++++++++++++---------------------
 src/gsb_data_transaction.c |    2 +-
 2 files changed, 73 insertions(+), 65 deletions(-)


hooks/post-receive
-- 
Grisbi


More information about the cvs mailing list