Skip to content

Commit

Permalink
Fix stack overflow in PhysicalAddress.TryParse taking out CI (dotnet#…
Browse files Browse the repository at this point in the history
  • Loading branch information
stephentoub authored Jan 8, 2020
1 parent c07be36 commit 339eef5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public static bool TryParse(string address, out PhysicalAddress value)
return true;
}

return TryParse(address, out value);
return TryParse(address.AsSpan(), out value);
}

public static bool TryParse(ReadOnlySpan<char> address, out PhysicalAddress value)
Expand Down

0 comments on commit 339eef5

Please sign in to comment.