Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: pktgen: fix access outside of user given buffer in pktgen_if_wri…
…te() Honour the user given buffer size for the hex32_arg(), num_arg(), strn_len(), get_imix_entries() and get_labels() calls (otherwise they will access memory outside of the user given buffer). Signed-off-by: Peter Seiderer <ps.report@gmx.net> Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
- Loading branch information