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 771607 - potential crash when loading financial mode
potential crash when loading financial mode
Status: RESOLVED FIXED
Product: gnome-calculator
Classification: Core
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gcalctool maintainers
gcalctool maintainers
Depends on:
Blocks:
 
 
Reported: 2016-09-18 03:24 UTC by Tobias Mueller
Modified: 2016-09-19 19:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (1.04 KB, patch)
2016-09-18 03:24 UTC, Tobias Mueller
accepted-commit_after_freeze Details | Review

Description Tobias Mueller 2016-09-18 03:24:02 UTC
Created attachment 335788 [details] [review]
patch

loading financial mode leads to a potential crash, because it accesses too many elements in a wrong array.
Comment 1 Robert Roth 2016-09-18 06:52:03 UTC
Review of attachment 335788 [details] [review]:

Another good catch.
Comment 2 Alberto Ruiz 2016-09-19 19:28:33 UTC
It's in master, thanks Tobias!