-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
28 additions
and
7 deletions.
There are no files selected for viewing
7 changes: 0 additions & 7 deletions
7
test/Nerdbank.MessagePack.Tests/MessagePackSerializerTests.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
public class SecurityTests | ||
{ | ||
/// <summary> | ||
/// Verifies that the deserializer will guard against stack overflow attacks. | ||
/// </summary> | ||
[Fact(Skip = "Not yet implemented.")] | ||
public void StackGuard() | ||
{ | ||
// The max depth should be configurable on the MessagePackSerializer object. | ||
} | ||
|
||
/// <summary> | ||
/// Verifies that the | ||
/// </summary> | ||
[Fact(Skip = "Not yet implemented.")] | ||
public void CollisionResistantHashMaps() | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// Copyright (c) Andrew Arnott. All rights reserved. | ||
// Licensed under the MIT license. See LICENSE file in the project root for full license information. | ||
|
||
global using System.Collections.Immutable; | ||
global using Nerdbank.MessagePack; | ||
global using Nerdbank.Streams; | ||
global using TypeShape; | ||
global using Xunit; | ||
global using Xunit.Abstractions; |