summaryrefslogtreecommitdiff
path: root/lib/command.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2020-10-05 16:19:09 -0400
committerDonald Sharp <sharpd@nvidia.com>2020-10-09 09:16:08 -0400
commitd7b4f53a0f58ae6e447f59abf250413d60e3d423 (patch)
treea084cc2a926e4ed196b5d7543aa4ffccd9b541cc /lib/command.h
parente13013d4bad0be7618296cd333cb56ade09d7c83 (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