Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-7975 Coverity defects
  3. CORE-9300

notepad: fix CID 510916 and CID 716307

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Fix Version/s: 0.4.0
    • Component/s: None
    • Labels:

      Description

      The patch replaces the _tcscpy in SetFileName with StringCchCopy to ensure that no
      buffer overrun occurs. Should fix CID 510916.

      It also frees pTemp in DoCreateEditWindow if the function fails to create a new edit control
      and pTemp is non-null. Should fix 716307.

        Attachments

          Activity

            People

            • Assignee:
              AmineKhaldi AmineKhaldi
              Reporter:
              Forever Winter Forever Winter
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: