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

Avoid freeing Vcb when it couldn't have been allocated in UDFPnpSurpriseRemove()

    XMLWordPrintable

Details

    Description

      In UDFPnpSurpriseRemove() there is a chance Buf could be not allocated from MyAllocatePool, in such case we should prevent UDFReleaseResource() to release Vcb.
      It is just needed to set VcbAcquired = FALSE; and VcbDeleted = FALSE in such case.

      CID 1322255

      Attachments

        Activity

          People

            extravert34 extravert34
            vicmarcal vicmarcal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: