[Gnucash-changes] fix possible null-pointer deref
Linas Vepstas
linas at cvs.gnucash.org
Fri Aug 27 18:21:00 EDT 2004
Log Message:
-----------
fix possible null-pointer deref
Modified Files:
--------------
gnucash/src/gnome:
dialog-tax-info.c
Revision Data
-------------
Index: dialog-tax-info.c
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/gnome/dialog-tax-info.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -Lsrc/gnome/dialog-tax-info.c -Lsrc/gnome/dialog-tax-info.c -u -r1.19 -r1.20
--- src/gnome/dialog-tax-info.c
+++ src/gnome/dialog-tax-info.c
@@ -567,7 +567,7 @@
frame = gnc_glade_lookup_widget (GTK_WIDGET (clist),
"payer_name_source_frame");
- if (txf_info->payer_name_source)
+ if (txf_info && txf_info->payer_name_source)
{
gboolean current;
More information about the gnucash-changes
mailing list