Skip to content
Commit cc5bd925 authored by tang.junhui's avatar tang.junhui Committed by Mike Snitzer
Browse files

dm mpath: add checks for priority group count to avoid invalid memory access



This avoids the potential for invalid memory access, if/when there are
no priority groups, in response to invalid arguments being sent by the
user via DM message (e.g. "switch_group", "disable_group" or
"enable_group").

Signed-off-by: default avatartang.junhui <tang.junhui@zte.com.cn>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent f97dc421
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment