9c9fad3dfa
Masking of core mask was incorrect. Instead of using 1U for shifting, it
should be using 1LU as the result is assigned to uint64.
CID 375859: Potentially overflowing expression "1U << app_main_core" with
type "unsigned int" (32 bits, unsigned) is evaluated using 32-bit
arithmetic, and then used in a context that expects an expression of
type "uint64_t" (64 bits, unsigned).
Coverity issue: 375859
Fixes:
|
||
---|---|---|
.. | ||
app_thread.c | ||
args.c | ||
cfg_file.c | ||
cfg_file.h | ||
cmdline.c | ||
init.c | ||
main.c | ||
main.h | ||
Makefile | ||
meson.build | ||
profile_ov.cfg | ||
profile.cfg | ||
stats.c |