Skip to content

Commit 9a64916

Browse files
committed
fix ENOBUFS
1 parent 4aa81f1 commit 9a64916

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/EIDEProjectExplorer.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6945,7 +6945,7 @@ export class ProjectExplorer implements CustomConfigurationProvider {
69456945
if (!fromelf.IsFile())
69466946
throw new Error(`Not found '${fromelf.path}' !`);
69476947
cont = child_process
6948-
.execFileSync(fromelf.path, ['--text', '-v', binFile.path])
6948+
.execFileSync(fromelf.path, ['--text', '-v', binFile.path], { maxBuffer: 50 * 1024 * 1024 })
69496949
.toString();
69506950
} catch (error) {
69516951
const err = <Error>error;
@@ -6981,7 +6981,7 @@ export class ProjectExplorer implements CustomConfigurationProvider {
69816981

69826982
try {
69836983
cont = child_process
6984-
.execFileSync(`${readelf}${exeSuffix()}`, ['-e', binFile.path])
6984+
.execFileSync(`${readelf}${exeSuffix()}`, ['-e', binFile.path], { maxBuffer: 50 * 1024 * 1024 })
69856985
.toString();
69866986
} catch (error) {
69876987
const err = <Error>error;

0 commit comments

Comments
 (0)