https://bugs.linaro.org/show_bug.cgi?id=2425
Bug ID: 2425
Summary: CID 164654: Insecure data handling
odp_sysinfo_parse.c
Product: OpenDataPlane - linux- generic reference
Version: v1.10.1
Hardware: Other
OS: Linux
Status: UNCONFIRMED
Severity: enhancement
Priority: ---
Component: General ODP
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
/platform/linux-generic/arch/x86/odp_sysinfo_parse.c: 72 in
odp_cpu_hz_current()
66 break;
67 }
68 }
69
70 fclose(file);
71 if (mhz)
>>> CID 164654: Insecure data handling (INTEGER_OVERFLOW)
>>> Overflowed or truncated value (or a value computed from an overflowed
>>> or truncated value) "(uint64_t)(mhz * 1e+06.)" used as return value.
72 return (uint64_t)(mhz * 1000000.0);
73
74 return 0;
--
You are receiving this mail because:
You are the assignee for the bug.