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

Fix calculation of ServLength at getnameinfo in ws2_32_new

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: 0.4.2
    • Component/s: Networking
    • Labels:

      Description

      Fix ServLength calculation by dividing it by the sizeof(wchar). As a side fix, GetNameInfoW is expecting the number of WCHARs of the array and not WCHARS-1 so I've fixed it too.

      CID 716150

        Attachments

          Activity

            People

            • Assignee:
              ThFabba ThFabba
              Reporter:
              vicmarcal vicmarcal
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: