commit | c26ed59ecede290aa16461248ceaeea814fa3d68 | [log] [tgz] |
---|---|---|
author | Subash Abhinov Kasiviswanathan <subashab@codeaurora.org> | Fri Jun 15 15:38:27 2018 -0700 |
committer | Subash Abhinov Kasiviswanathan <subashab@codeaurora.org> | Fri Jun 15 17:03:11 2018 -0600 |
tree | 3568b9d9d634b24927e96ae008632d1e65d627f5 | |
parent | d0f3eca57dde82d8538b91dac9e6bc5592acafc5 [diff] |
librmnetctl: static analyis fix Previously librmnetctl did not len check device names to prevent buffer overflow when creating nlmsgs to kernel. This fixes that to correctly prevent the dangerous memcpy that would result from string longer than bufferlength Change-Id: Ic83194f812cbe9fa31d6c17e5b440e7efd72b5b2