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

    • Sub-task
    • Resolution: Fixed
    • Minor
    • 0.4.0
    • None

    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

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

            Dates

              Created:
              Updated:
              Resolved: