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

PCCERT_CONTEXT may go out of scope in optimized build

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

      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

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

              Created:
              Updated:
              Resolved: