[Kmymoney-devel] [Bug 291730] Entering number prefixed with zero is interpreted as octal

Cristian Onet onet.cristian at gmail.com
Wed Jan 18 18:45:28 UTC 2012


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


Cristian Onet <onet.cristian at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED




--- Comment #11 from Cristian Onet <onet cristian gmail com>  2012-01-18 18:45:28 ---
Git commit cefc5f9d3e54fb04be4d6a984f7f2d935a1b1d29 by Cristian Oneț.
Committed on 18/01/2012 at 19:19.
Pushed by conet into branch '4.6'.

If the value can't be parsed due to leading zeros the result will be 0.
I didn't port the whole remove leading zeros feature since that will complicate
the fix and after all the goal is to avoid a crash in an unsual situation.

M  +7    -1    kmymoney/mymoney/mymoneymoney.cpp

http://commits.kde.org/kmymoney/cefc5f9d3e54fb04be4d6a984f7f2d935a1b1d29

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list