Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-3227

PCCERT_CONTEXT may go out of scope in optimized build

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.15.0
    • Component/s: libmongoc, tls
    • Labels:
      None
    • Environment:
      Optimized build on VC14 x64 using Secure Channel

      Description

      From mongodb/mongo-c-driver#571:

      PCCERT_CONTEXT cert/paCred pointer goes out of `if` scope in optimized build, leading to crash (this seem to work fine in unoptimized/debug build). VC14 x64

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jmikola Jeremy Mikola
              Reporter:
              jmikola Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: