Uploaded image for project: 'PROFINET IO-Device V4'
  1. PROFINET IO-Device V4
  2. PSPNSV4-680

Crash when read response length larger than internal buffer size

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V4.3.0.0
    • Fix Version/s: V4.3.0.7, V4.3.1.0, V4.4.0.0
    • Labels:
      None
    • Sprint:
      PI Sprint 2017 KW 40-41
    • Account:
      SPC Profinet Slave (SPCPROFINE)

      Description

      When the device receives a read record service request for an application index the read length indicated to the application is not truncated to the maximum available buffer size of the protocol stack. E.g when a read service with length=16kB is received the Read Record service indications is sent with read length=16kB althoug the internal buffer might be only about 4kB for netX52 use case. When in this case the application responds with the full requested record length, an buffer overflow occurs.

      It is expected that the read length indicated to the application is truncated to the maximum available buffer size.

        Attachments

          Expenses

            Activity

              Status Description

                People

                • Reporter:
                  RAamidi Redouane Aamidi
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: