PR #427 #1402
codeql
on: dynamic
Matrix: analyze
Annotations
1 warning
|
Unhandled error event on `child.stdin` can crash the benchmark process:
src/benchmarks/claude-ui/harness.ts#L214
Add `child.stdin.on('error', () => {})` (or pipe the rejection through) before calling `child.stdin.end()`. Without an error listener, an EPIPE emitted when the spawned process exits before stdin is drained will cause an uncaught Node.js `EventEmitter` exception that terminates the entire benchmark runner.
|