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

Illegal downcast in document_source_test.cpp

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Steps To Reproduce:
      Hide

      Run document_source_test.cpp under the undefined behavior sanitizer.

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

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            acm Andrew Morrow
            Reporter:
            acm Andrew Morrow
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: