Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PowerShell process crash on recursive array converted to bool #3207

Closed
PetSerAl opened this issue Feb 26, 2017 · 1 comment
Closed

PowerShell process crash on recursive array converted to bool #3207

PetSerAl opened this issue Feb 26, 2017 · 1 comment
Labels
Issue-Bug Issue has been identified as a bug in the product Resolution-Fixed The issue is fixed. WG-Engine core PowerShell engine, interpreter, and runtime

Comments

@PetSerAl
Copy link
Contributor

PetSerAl commented Feb 26, 2017

Steps to reproduce

$a[0] = $a = [PSObject](,1)
[System.Management.Automation.LanguagePrimitives]::IsTrue($a)

Expected behavior

Return $true.

Actual behavior

Process is terminated due to StackOverflowException.

Environment data

> $PSVersionTable

Name                           Value
----                           -----
CLRVersion
GitCommitId                    v6.0.0-alpha.16-24-gc74b2a7670c79b02bb526c0998720b93ac385d03
PSEdition                      Core
SerializationVersion           1.1.0.1
PSVersion                      6.0.0-alpha
WSManStackVersion              3.0
BuildVersion                   3.0.0.0
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0, 5.0, 5.1.10032.0, 6.0.0}
PSRemotingProtocolVersion      2.3
@lzybkr lzybkr added WG-Engine core PowerShell engine, interpreter, and runtime Issue-Bug Issue has been identified as a bug in the product labels Feb 26, 2017
@daxian-dbw
Copy link
Member

Closed via #3208

@iSazonov iSazonov added the Resolution-Fixed The issue is fixed. label Apr 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug Issue has been identified as a bug in the product Resolution-Fixed The issue is fixed. WG-Engine core PowerShell engine, interpreter, and runtime
Projects
None yet
Development

No branches or pull requests

4 participants