Uploaded image for project: 'PROFINET Core'
  1. PROFINET Core
  2. PSPNCORE-884

Buffer overflow when sending big alarms

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V1.6.0.0, V1.7.0.0, V1.8.0.0, V1.9.0.0, V1.10.0.0, V1.11.0.0, V1.12.0.0, V1.13.0.0, V1.14.0.0, V1.15.0.0, V1.16.0.0
    • Fix Version/s: V1.17.1.0
    • Component/s: Device
    • Labels:
      None
    • Account:
      SPC Profinet Core V1 operational (SPCPROFINET)

      Description

      When the Profinet Device Stack is requested to sent alarm with more than 200 Byte Notification Data, a buffer overflow will occur and the data is written into the ALPMR receive buffer. The stack expects the application to ensure alarm data length does not exceed the available buffer space.

      Since ALPMR is rarely used in Profinet Devices, the problem is considered minor. However, the protocol stack should explicitly validate the data length and return error in case of overflow.

        Attachments

          Issue Links

            Expenses

              Activity

                Status Description

                  People

                  • Reporter:
                    AMesser Andreas Messer
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    0 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved: