Actions
Bug #1175
openlocale bug when loading files from disk with decimal numbers
Status:
Resolved
Priority:
Normal
Assignee:
Jules Waldhart
Start date:
2018-03-15
Due date:
% Done:
0%
Estimated time:
Description
The bug occurs when the numeric locale is set to use the comma as a decimal separator (instead of dot), e.g with french locale.
p3d crashes first at the reading of the p3d file, failing to parse some command, and crashes with segmentation fault, sometimes saying "Not enough memory" before dying.
The program must set the locale to a proper value before calling p3d_read_desc and other locale dependent methods.
Actions