Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-59

MongoCollection<T>.FindAndModify(object document, object spec, object sort) causes stack-overflow

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • None
    • samus-mongodb-csharp-85d3524

    Description

      Just looking at the code makes it quite clear that this will bust the stack:

      public T FindAndModify(object document, object spec, object sort)

      { return FindAndModify(document, spec, sort); }

      Work around is to call another overload.

      Attachments

        Activity

          People

            lanwin Steve Wagner
            gduford Gabriel Duford
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: