diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2025-01-15 11:16:10 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2025-01-17 10:16:48 -0500 |
| commit | 283cc511781f9e076baf8564dae234de52cb290a (patch) | |
| tree | e2b6a6bec8f270264a69a761eafee01c8f1e71c7 /pimd/pim_cmd_common.c | |
| parent | 705e6f881b34079a0e87452961b02011a5f1e044 (diff) | |
ospfd: Fix Coverity SA #1617470, 76 and 78
msg_new takes a uint16_t, the length passed
down variable is a unsigned int, thus 32 bit.
It's possible, but highly unlikely, that the
msglen could be greater than 16 bit.
Let's just add some checks to ensure that
this could not happen.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'pimd/pim_cmd_common.c')
0 files changed, 0 insertions, 0 deletions
