NumeRe crashes if 'getfolderlist("*")' is used
Framework for numerical computations, data analysis and visualisation
Brought to you by:
numere
NumeRe crashes, if one uses getfolderlist("*") or getfilelist("*") in the console.
Analysis:
NumeRe crashes because it tries to use more memory than exists. The reason for this behavior is the recursion for path tokens in getfolderlist() and getfilelist() doesn't abort, if the passed string doesn't contain any path separators.
Implementation:
The recursion now aborts if no path separator can be found in the passed string.
Documentation:
The fix was documented in the changes log.
Tests:
The fix was tested and no deviations were detected. Bug fix implemented successfully.
Anonymous
Diff:
Diff:
Diff:
Diff: