If pycompat.unnamedtempfile() raises an exception, it would have called
stdin.close() in the finally block without it being initialized first.
Details
Details
- Reviewers
Alphare - Group Reviewers
hg-reviewers - Commits
- rHGf8540fe4be0f: procutil: avoid an uninitialized variable usage on tempfile exception
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Branch
- default
- Lint
No Linters Available - Unit
No Unit Test Coverage