摘要 |
<p>PURPOSE: A test method is provided to prevent a parameter length error by testing each parameter length of a message without effect of parameter array. CONSTITUTION: According to the test method, a point number of each parameters of message, and a number of spare areas are acquired. A parameter process is performed when the number of parameter pointer is 1. When the number of parameter pointer is above 1, each parameter pointers are arranged on a reference of the initial parameter values. The first sum value of the initial parameter values is stored. Also, the second sum value of parameter lengths indicated by the arranged pointers is stored. The first and second sum values are compared together. When the first and second sum values are different, the message is discarded. When the first and second sum values are same, the parameter process is performed.</p> |