Paste a string for the password of Get-Credential crashes PSIC
See original GitHub issueIssue Description
PSIC crashe
Steps to reproduce
- Create a file with the following content:
File.ps1
(Get-Credential -UserName 'Test' -Message 'Password please')
- Press
F5and thePSICwill ask you for the password. - Copy a random string in the terminal and watch the
PSICcrash
Version: 1.42.0-insider (system setup)
Commit: 33c79d5ad447956814a2a3658029dffb9e28bae6
Date: 2020-01-15T09:36:35.018Z
Electron: 7.1.7
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.14393
PowerShell Preview version 2020.10
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (1 by maintainers)
Top Results From Across the Web
Fail to paste password into credential dialog box - Windows ...
This article provides help to fix a File system error that occurs when you paste password into a credential dialog box.
Read more >ios - Custom NSTextStorage crashes when pasting text from ...
I was trying to subclass NSTextStorage. For now, I just follow the document, override for primitives: class TextStorage: NSTextStorage ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Looking into the solution now
I’ve managed to reproduce this now, and quite consistently.
For some reason
_readLineCancellationSourceis null here.