Skip to content

String Concat Crashes if Null Value in String Array #1545

Closed
nanoframework/nf-interpreter
#3031
@gligorov

Description

@gligorov

Library/API/IoT binding

System

Visual Studio version

Any

.NET nanoFramework extension version

Current

Target name(s)

ORGPAL_PAL3

Firmware version

1.12.0.175

Device capabilities

No response

Description

Application hangs and crashes after 2-3 seconds no exception nothing.

How to reproduce

string[] dispOut = new string[4];
dispOut[0] = "Hello";
string test = string.Concat(dispOut);//hang/fails board

Expected behaviour

.NET Framework does not crash on this code.

Screenshots

No response

Sample project or code

string[] dispOut = new string[4];
dispOut[0] = "Hello";
string test = string.Concat(dispOut);//hang/fails board

Aditional information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions