diff options
author | Bryant G. Ly <bryantly@linux.vnet.ibm.com> | 2017-07-14 15:11:04 +0200 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2017-07-31 00:23:21 +0200 |
commit | ededd039d1b96035b23592c049efcae53922cfce (patch) | |
tree | 36eeb68d6d9fcf2c2ac8ea0e8c35c62fc2c4d172 /tools/net/bpf_exp.y | |
parent | tcmu: Fix possible to/from address overflow when doing the memcpy (diff) | |
download | linux-ededd039d1b96035b23592c049efcae53922cfce.tar.xz linux-ededd039d1b96035b23592c049efcae53922cfce.zip |
tcmu: free old string on reconfig
On initial tcmu_configure_device call the info->name would
have already been allocated and set, so on the second call
make sure to free it first.
Reported-by: Mike Christie <mchristi@redhat.com>
Reviewed-by: Mike Christie <mchristi@redhat.com>
Signed-off-by: Bryant G. Ly <bryantly@linux.vnet.ibm.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'tools/net/bpf_exp.y')
0 files changed, 0 insertions, 0 deletions