Uploaded image for project: 'ReactOS Test Suite'
  1. ReactOS Test Suite
  2. ROSTESTS-82

msxml3_winetest domdoc crashing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • trunk
    • None
    • None

    Description

      Testing reveals the following:

      CreateStreamOnHGlobal(NULL, TRUE, &stream); // line 7351
      creates a stream with a hglobal in discarded state.

      The call to GlobalLock on this handle at line 7359 fails with ERROR_DISCARDED.
      This is verified (on Windows) to be the error for such a memory object.

      The only modification to this stream object is the call
      IXMLDOMDocument_save(doc, dest); // line 7354

      Logic suggests IXMLDOMDocument_save doesn't change the state of the HGLOBAL,
      and therefore the test code crashes when the result (NULL) from GlobalLock
      is used without testing validity.

      Attachments

        Issue Links

          Activity

            People

              tamlin Mike Nordell
              tamlin Mike Nordell
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: