BsonSerializer.Deserialize throws OutOfMemoryException on a small input array (19 bytes)

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.7.2
    • Component/s: BSON
    • None
    • Environment:
      .NET Core 2.1
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      BsonSerializer.Deserialize throws OutOfMemoryException on a small input array (19 bytes). The full C# program that reproduces this bug is attached.

            Assignee:
            Dmitry Lukyanov (Inactive)
            Reporter:
            Squidward Tentacles
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: