[grisbi-cvs] [git push]Grisbi branch grisbi-1.0.x updated. upstream_version_1_0_0-45-g45e7f8e
Pierre Biava
noreply at sourceforge.net
Mon Aug 22 22:51:05 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 45e7f8e08305787517c9019826bb330a855ec63b (commit)
from 5f7f096f686f14743b905a003328e26fadfeb6b2 (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:
NEWS | 8 ++++++++
configure.ac | 4 ++--
src/structures.h | 2 +-
3 files changed, 11 insertions(+), 3 deletions(-)
hooks/post-receive
--
Grisbi
More information about the cvs
mailing list