Apache OpenOffice (AOO) Bugzilla – Issue 2303
Program crashes after entering large number at Chart Data
Last modified: 2013-02-24 21:19:34 UTC
When the number that is more than the maximum double value is entered at Input field on Chart Data in Insert Chart function, the program crashes. Replication Steps: 1. Invoke Presentation of OpenOffice.org 638 2. Insert -> Chart 3. Right click on the chart -> Chart Data 4. Enter 1.797693134862320E+308 on Input Field 5. Press Assign button (Right on the Input Field) 6. No error message shows up and the program crashes.
This is a Chart-issue, so the component has been changed to chart. Issue reassigned to Oliver.
Reproducible, one for BM
I cannot reproduce a crash - I have a loop (maybe this results in a crash when waiting for hours ;-) This large number is internally already interpreted as infinity. There is a while loop which in this case does not terminate. I fixed this such that the loop is skipped if there are infinite values. As a result the chart will be empty. But as calculation with values which are at the edge of double are not very reliable I think this should work. I mean this was a tet for robustness anyway, wasn't it? (Fix is in file: sch/source/core/chaxis.cxx 1.23)
closed