Uploaded image for project: 'CANopen Slave'
  1. CANopen Slave
  2. PSCOS-299

Not sufficient pool size can cause crash when ODV3 configuration is returned

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V3.7.0.1
    • Fix Version/s: V3.7.0.2, V3.7.1.0
    • Component/s: None
    • Labels:
      None
    • Account:
      SPC CanOpen Slave (SPCCANOPENSL)

      Description

      The issue is discovered with NT50 firmware. The pool size is defined to be 128 bytes long however the confirmation packet ODV2_GET_OBJECT_LIST_CNF_T returned by ODV3 is more that 1024 bytes

      More detailed description is done at https://ticket.hilscher.com/browse/PRODGATEWAY-364 

       

      After a review of the ODV3 public header we saw that there are also another packets that exceed the pool element size.

       

      CanOpenSlave_Odv3CreateSubObjectReq ODV3_CREATE_SUBOBJECT_REQ_T
      CanOpenSlave_Odv3GetObjectAccessInfoReq ODV3_GET_OBJECT_ACCESS_INFO_CNF_T
      CanOpenSlave_Odv3WriteObjectReq ODV3_WRITE_OBJECT_REQ_T
      CanOpenSlave_Odv3ReadObjectReq ODV3_READ_OBJECT_CNF_T
      CanOpenSlave_Odv3GetObjectListReq ODV3_GET_OBJECT_LIST_CNF_T

        Attachments

          Issue Links

            Expenses

              Activity

                Status Description

                  People

                  • Reporter:
                    ynikolov Yordan Nikolov
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    0 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved: