https://bugs.kde.org/show_bug.cgi?id=506386

Ralf Habacker <ralf.habac...@freenet.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ralf.habac...@freenet.de

--- Comment #1 from Ralf Habacker <ralf.habac...@freenet.de> ---
(In reply to supernobby from comment #0)
...
> Thread 1 (Thread 0x7fffd23eb5c0 (LWP 5933) "kmymoney"):
> #0  AlkOnlineQuotesProfile::hasGHNSSupport (this=0x0) at
> /usr/src/debug/libalkimia/alkimia-8.2.0/src/alkonlinequotesprofile.cpp:180
> No locals.
> #1  0x00007ffff739ba50 in AlkOnlineQuoteSource::read (this=0x7fffffffc748)
> at /usr/src/debug/libalkimia/alkimia-8.2.0/src/alkonlinequotesource.cpp:359
> No locals.

A look at the corresponding source code lines shows that there is still
potential for improvement here to check whether a profile is available.

> #2  0x00007ffff7f74fc4 in KEquityPriceUpdateDlgPrivate::addInvestment
> (this=this@entry=0x55555855a8d0, inv=...) at
> /usr/src/debug/kmymoney/kmymoney-5.2.0/kmymoney/dialogs/
> kequitypriceupdatedlg.cpp:371

but the real problem lies here, because here a null pointer is passed for the
profile, while an available profile is required.

                AlkOnlineQuoteSource
alkOnlineSource(inv.value(QLatin1String("kmm-online-source")),
                                                    
quoteProfile(inv.value(QLatin1String("kmm-online-quote-system"))));

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to