This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335x ISDK v1.1.0.5 source confirmation

Guru 10570 points
Other Parts Discussed in Thread: SYSBIOS


Hello,

I am evaluating ISDK v1.1.0.5.
In the following source code, variable "i" is set from 0 to 7.
It may occur illegal access inside functions UpdateTxstats(), UpdateRxstats().
Since NUM_PORTS is defined as 2, we think hostStats[portNum] will overflow.

Question) 
  - 
Is my understanding right?
  - 
Do you have any workaround?

Best regards, RY


C:\ti\am335x_sysbios_ind_sdk_1.1.0.5\sdk\protocols\profinet_slave\drivers
iRtcDrv.c

C:\ti\am335x_sysbios_ind_sdk_1.1.0.5\sdk\os_drivers\include\ICSS
icss_statistics.h

C:\ti\am335x_sysbios_ind_sdk_1.1.0.5\sdk\os_drivers\include\ICSS
icss_statistics.c