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

[PATCH] Fix a logic flaw in OpenPrinterW()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: 0.4.6
    • Component/s: None
    • Labels:
      None
    • Sprint:
      June 2017

      Description

      CID 1411933
      Since all the paths in the for-loop, after setting the error, are jumping to Cleanup, the if() check is never working as intended.
      Move the if check below the Cleanup tag so we can really compare if any of the executed paths is really returning an ERROR_INVALID_NAME.

        Attachments

          Activity

            People

            • Assignee:
              Colin Finck Colin Finck
              Reporter:
              vicmarcal vicmarcal
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: