After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 499360 - Crash when editing a commodity whose quote source timezone is set to local time
Crash when editing a commodity whose quote source timezone is set to local time
Status: VERIFIED FIXED
Product: GnuCash
Classification: Other
Component: Engine
2.2.x
Other All
: Normal normal
: ---
Assigned To: Derek Atkins
Derek Atkins
Depends on:
Blocks: backport
 
 
Reported: 2007-11-24 15:22 UTC by Andreas Köhler
Modified: 2018-06-29 21:54 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andreas Köhler 2007-11-24 15:22:08 UTC
Copied from http://lists.gnucash.org/pipermail/gnucash-devel/2007-November/021643.html:

[...], gnucash would crash when editing a commodity whose quote 
source timezone is set to local time.  In that case 
gnc_commodity_set_quote_tz  is called with a NULL tz parameter.  
However, the ENTER macro would always attempt to dereference tz to print 
it, resulting a crash.  This patch fixes that problem changing the macro 
to use the string "(null)" in the case that tz is NULL.
Comment 1 Andreas Köhler 2007-11-24 15:39:17 UTC
The mentioned patch was applied in r16598.
Awaiting backport to branches/2.2.
Comment 2 Andreas Köhler 2007-12-14 22:17:57 UTC
branches/2.2@r16645.
Comment 3 John Ralls 2018-06-29 21:54:58 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=499360. Please update any external references or bookmarks.