You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `using (MessagePackSecurity.DepthStep())` block provides a level of security while deserializing untrusted data
822
+
that might otherwise be able to execute a denial of service attack by sending messagepack data that would
823
+
deserialize into a very deep object graph leading to a `StackOverflowException` that would crash the process.
824
+
This block should surround the bulk of any `IMessagePackFormatter<T>.Deserialize` method.
825
+
818
826
Created formatter needs to register to `IFormatterResolver`. Please see [Extension Point section](https://github.com/neuecc/MessagePack-CSharp#extension-pointiformatterresolver).
819
827
820
828
You can see many other samples from [builtin formatters](https://github.com/neuecc/MessagePack-CSharp/tree/master/src/MessagePack/Formatters).
0 commit comments