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

op_msg_fuzzer should disable global logging

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0, 7.0.0-rc6
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • v7.0
    • Security 2023-06-12

      op_msg_fuzzer invokes a large body of code, which may use logging. Because log message include thread names stored in thread local variables, logging uses thread local state. libfuzzer binaries do not have hooks into global shutdown. The only way to cleanly tear down state is to declare a global static destructor. These destructors run after thread local variables are destroyed. Accessing thread local variables in a destructor is UB. op_msg_fuzzer uses systems which log in shutdown. Thus, we should turn off logging.

            Assignee:
            spencer.jackson@mongodb.com Spencer Jackson
            Reporter:
            spencer.jackson@mongodb.com Spencer Jackson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: