[Kmymoney-devel] [kmymoney4] [Bug 326739] KMyMoney crashes when attempting on-line price update with suspect source parameters.

allan agander93 at gmail.com
Mon Oct 28 11:02:44 UTC 2013


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

--- Comment #4 from allan <agander93 at gmail.com> ---
(In reply to comment #3)
> OK, I see now, the problem is this line [1]. QTextCodec::codecForName is
> used wihtou checking if a codec is actually returned. This should be changed
> to
> 
> QTextCodec * codec = QTextCodec::codecForName(prober.encoding());
> if (!codec)
>   codec = QTextCodec::codecForLocale();
> codec->toUnicode(page);
> 
> [1]
> https://projects.kde.org/projects/extragear/office/kmymoney/repository/
> revisions/4.6/entry/kmymoney/converter/webpricequote.cpp#L138

As this works without apparent problem in Linux, but not on Windows, does this
suggest that the required codec is not available on Windows for some reason?

There appears to have been no change to this code since pre 4.6, so the user
can't revert.  Is this a question of waiting for 4.7, or might there be a new
Windows version earlier?  That said, though, 4.6.3 at least crashes more
gracefully.

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


More information about the KMyMoney-devel mailing list