[grisbi-cvs] [git push]Grisbi branch grisbi-1.0.x updated. upstream_version_1_0_0-49-g19dceaf
Pierre Biava
noreply at sourceforge.net
Fri Sep 9 20:49:06 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 19dceafa8cb84631e7a2416c1114ff892bc98b57 (commit)
from d5f9d77a47e4ae1d9a1e154f0aa2d1277ffcdd55 (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/etats_affiche.c | 21 +++++++++++++------
src/etats_support.c | 53 +++++++++++++++++++++++++++++++++-----------------
2 files changed, 49 insertions(+), 25 deletions(-)
hooks/post-receive
--
Grisbi
More information about the cvs
mailing list