Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-6388

possible race condition when freeing user mode attributes for brushes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Fix Version/s: 0.5
    • Component/s: Win32SS
    • Labels:
      None
    • Environment:

      Operating System: ReactOS
      Platform: x86 Hardware

      Description

      This is just a note to myself.
      When user mode attributes for brushes are freed when changing the object owner
      from POWNED to PUBLIC, they could be referenced by another thread in kernel
      mode, since brushes are shared objects.
      A possible solution would be to set a flag in the BASEOBJ that tells the object
      manager to free the object attribute, once all references are gone.

        Attachments

          Activity

            People

            • Assignee:
              ThePhysicist Timo Kreuzer
              Reporter:
              ThePhysicist Timo Kreuzer
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: