Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-125226

QSharedMemory on Windows does not respect the security context

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Won't Do
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.7.0
    • Core: I/O
    • None
    • Any Windows platform, any compiler and any Qt version.

    • Windows

      The QSharedMemory object, created in Windows service context does not apply the Security Descriptor to the HANDLE object, which prevents accessing the same shared memory object from the user context. 
      Similar classes, like QLocalServer, create a security context in case of  QLocalServer::WorldAccessOption access option.

      I propose to add a similar flag/option to the QSharedMemory object in order to access the shared memory from other security context, if required by design, at least with flag PAGE_READONLY

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            thiago Thiago Macieira
            b-epelbaum Korneliy Epelbaum
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes