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

PATCH. Fix a potential overflow and uninitialized variable in InitNegNumFmtCB ()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 0.4.6
    • None
    • None

    Description

      Right now we could be overflowing WCHAR szNewSample in InitNegNumFmtC, fix that by using wcsncopy instead. CID 510952

      On the other hand move the pszResult check inside the previous if, otherwise ReplaceSubStr would be using szNewSample uninitialized. CID 1411999

      Attachments

        Activity

          People

            bug zilla Bug Zilla
            vicmarcal vicmarcal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: