Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-23708

Illegal downcast in document_source_test.cpp

    • Fully Compatible
    • ALL
    • Hide

      Run document_source_test.cpp under the undefined behavior sanitizer.

      Show
      Run document_source_test.cpp under the undefined behavior sanitizer.
    • Platforms 13 (04/22/16)

      An object which is a DocumentSource, but not a DocumentSourceSample, is first downcast through DocumentSourceSample before being upcast to a DocumentSource, which is undefined behavior.

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: