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

Implement "secure" PathCch* shell functions

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Minor
    • 0.4.15
    • SDK, Shell
    • None

    Description

      Starting Windows 8 the following PathCch* functions: https://msdn.microsoft.com/en-us/library/windows/desktop/dd807193(v=vs.85).aspx provide more "secure" variants than their Path* equivalents, in the sense that they also take in input the size in characters of the string buffer passed in argument.
      They appear to be implemented in a library Pathcch.lib, and defined in a header Pathcch.h.

      Attachments

        1. 5842.diff.txt
          39 kB
        2. PathCch-import-functions.png
          PathCch-import-functions.png
          22 kB
        3. pathcch-ref.cpp
          1 kB
        4. pathcch-ref.exe
          42 kB
        5. pathcch-ref.pdb
          860 kB
        6. pathcch-sal.c
          4 kB
        7. shell32-quick-test.patch
          2 kB
        8. shell32-quick-test-1.patch
          2 kB
        9. wcsnlen-error.png
          wcsnlen-error.png
          22 kB

        Issue Links

          Activity

            People

              hbelusca hbelusca
              hbelusca hbelusca
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: