Uploaded image for project: 'PROFINET IO IRT-Controller DTM'
  1. PROFINET IO IRT-Controller DTM
  2. DTMV1PNCIRT-990

Entering a name of station with 64 characters may lead to a crash

    Details

    • Account:
      Device Library 1 (operativ) (DEVLIB)

      Description

      Fix crash in CreateErrorString caused by incorrect va_start usage

      • Use correct last named parameter in va_start (bstrFormat instead of local copy)
      • Fix undefined behavior when reading variadic arguments
      • Pass buffer size to vswprintf_s for safer formatting
      • Add va_end cleanup
      • Add basic error handling for vswprintf_s and SysAllocString

        Attachments

          Expenses

            Activity

              Status Description

                People

                • Reporter:
                  MKrifka Markus Krifka
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: