diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2023-05-10 13:01:37 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2023-05-10 16:19:46 +0200 |
commit | d418fc14f48ba8feb3f5c561f5626a673aef4863 (patch) | |
tree | 692634cf4d70a2ab3e4d0991b61d00065b216e67 /libdm/dm-tools | |
parent | cc7c41abbdb51a1e6c60c4a79aa56fe40ab7937a (diff) | |
download | lvm2-d418fc14f48ba8feb3f5c561f5626a673aef4863.tar.gz |
cov: hide some false positives
Hide some false positives.
Note: there must not a be blank line after coverity hiding comment.
Diffstat (limited to 'libdm/dm-tools')
-rw-r--r-- | libdm/dm-tools/dmsetup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libdm/dm-tools/dmsetup.c b/libdm/dm-tools/dmsetup.c index ea03d66c8..5e485af33 100644 --- a/libdm/dm-tools/dmsetup.c +++ b/libdm/dm-tools/dmsetup.c @@ -899,6 +899,7 @@ static int _display_info_cols(struct dm_task *dmt, struct dm_info *info) goto_out; if (_selection_cmd && selected) { device_name = (char*) dm_task_get_name(dmt); + /* coverity[overrun-buffer-val] _setgeometry never called from this place */ if (!_selection_cmd->fn(_selection_cmd, NULL, 1, &device_name, NULL, 1)) goto_out; } |