diff options
author | 2016-11-04 12:37:09 +0800 | |
---|---|---|
committer | 2016-11-21 09:52:08 -0500 | |
commit | cc5bd925f194c8dc7e2a4eee2c81a4f148018b08 (patch) | |
tree | 4d8f3d715414945d7b462dd1e1824ddfa53989e8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dm mpath: add m->hw_handler_name NULL pointer check in parse_hw_handler() (diff) | |
download | linux-dev-cc5bd925f194c8dc7e2a4eee2c81a4f148018b08.tar.xz linux-dev-cc5bd925f194c8dc7e2a4eee2c81a4f148018b08.zip |
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: tang.junhui <tang.junhui@zte.com.cn>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions