Open regorxxx opened 2 years ago
Well, it's not a problem only with relative paths, include crashes foobar in all cases when files are missing at the given path.
https://hydrogenaud.io/index.php/topic,120978.msg1012130.html#msg1012130
"use strict";
include('a.js');
"use strict";
include('myfolder\\a.js');
"use strict";
include('..\\a.js');
All three crash foobar in Wine but only crash the panel on windows. User uploaded the dumps btw.
In particular this line crashes the entire foobar instance:
include('..\\..\\helpers\\helpers_xxx_dummy.js')
Dummy being an empty file. Tested on Spider Monkey Panel v1.6.2-dev+7c0928b, and wine 7.11 (mdac28 wsh57)
See https://hydrogenaud.io/index.php/topic,120978.msg1012020.html#msg1012020
There are multiple dumps provided at the thread.