https://bugs.linaro.org/show_bug.cgi?id=2426
Bug ID: 2426
Summary: CID 164653: (INTEGER_OVERFLOW) traffic_mngr.c
Product: OpenDataPlane - linux- generic reference
Version: v1.10.1
Hardware: Other
OS: Linux
Status: UNCONFIRMED
Severity: enhancement
Priority: ---
Component: Traffic Manager
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
/test/validation/traffic_mngr/traffic_mngr.c: 1511 in find_node_desc()
1505 name_ptr = strchr(name_ptr, '_');
1506 if (name_ptr != NULL)
1507 name_ptr++;
1508
1509 while (node_desc != NULL) {
1510 if (strcmp(node_desc->node_name, node_name) == 0)
>>> CID 164653: (INTEGER_OVERFLOW)
>>> Overflowed or truncated value (or a value computed from an overflowed
>>> or truncated value) "node_desc" used as return value.
1511 return node_desc;
1512
1513 if (name_ptr == NULL)
1514 return NULL;
1515
1516 child_num = atoi(name_ptr);
/test/validation/traffic_mngr/traffic_mngr.c: 1520 in find_node_desc()
1514 return NULL;
1515
1516 child_num = atoi(name_ptr);
1517 if (node_desc->num_children < child_num)
1518 return NULL;
1519
>>> CID 164653: (INTEGER_OVERFLOW)
>>> Overflowed or truncated value (or a value computed from an overflowed
>>> or truncated value) "child_num - 1U" used as array index.
1520 node_desc = node_desc->children[child_num - 1];
1521 name_ptr = strchr(name_ptr, '_');
1522 if (name_ptr != NULL)
1523 name_ptr++;
1524 }
1525
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.