Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
multipathd: uxlsnr: fix memory leak handling invalid commands
If a client sends invalid commands with at least one correct keyword, (e.g "show bogus"), get_cmdvec() returns 0 and c->cmdvec is allocated but never freed. Fix it by freeing the cmdvec when setting the state to CLT_SEND. Signed-off-by: Martin Wilck <mwilck@suse.com> Suggested-by: Qualys Security Advisory <qsa@qualys.com> Reviewed-by: Benjamin Marzinski <bmarzins@redhat.com>
- Loading branch information