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

[PATCH] Fix bugcheck in NdisMFreeSharedMemory (happend with 3Com 3C905 TX-M)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • Networking
    • None
    • Operating System: ReactOS
      Platform: x86 Hardware

    Description

      The call to NdisMFreeSharedMemory span a thread witch access
      Memory->AdapterObject in NdisMFreeSharedMemoryPassive().
      But the driver call at next the function NdisMFreeMapRegisters.
      In this function Adapter->NdisMiniportBlock.SystemAdapterObject
      is freed so the the memory at Memory->AdapterObject is no
      longer valid.

      This patch call NdisMFreeSharedMemoryPassive direct when
      IRQL=PASSIV_LEVEL so that we not need a thread.

      Perhapse ther is a better solution but it work on real hardware with
      3C905 TX M.

      Daniel Zimmermann

      Attachments

        Issue Links

          Activity

            People

              aicommander Cameron Gutman
              netzimme Daniel Zimmermann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: