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.

Sample code for old RTOS/Compiler

I have some old (10+ yrs) code that seems to have a problem with changes in the environment around it. Problems now occur when some stray network traffic is received (memory corruption - maybe buffer overruns).

The code runs on a 6412, with 'BIOS' 4.9 and CGT 5.1.9.

While I can block the traffic causing the problem in this case I would like to fix the code.

It is the typical sort of code that runs thru a chain of descriptions when it gets an EMAC irq (via dispatcher). I was hoping for an example from the era so I can compare to see if that helps me spot some sanity checking that is missed?