diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2020-10-05 16:19:09 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2020-10-09 09:16:08 -0400 |
| commit | d7b4f53a0f58ae6e447f59abf250413d60e3d423 (patch) | |
| tree | a084cc2a926e4ed196b5d7543aa4ffccd9b541cc /lib/command.h | |
| parent | e13013d4bad0be7618296cd333cb56ade09d7c83 (diff) | |
ospfclient: Provide some protection against blindly trusting input
Coverity rightly points out that blindly trusting the lsalen
from received data may not be the smartest thing to do. Add
a bit of code to prevent us from blindly malloc'ing
too much memory.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/command.h')
0 files changed, 0 insertions, 0 deletions
