mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +03:00
cov: ignoring
This commit is contained in:
parent
dab4acb8f8
commit
bf0d558067
@ -82,6 +82,7 @@ int main(int args, char **argv) {
|
||||
if (val)
|
||||
(void) setenv("LVM_EXPECTED_EXIT_STATUS", val, 1);
|
||||
|
||||
/* coverity[os_cmd_sink] intentionally passing argv + 1 */
|
||||
execvp(argv[1], &argv[1]);
|
||||
/* should not be accessible */
|
||||
return FAILURE;
|
||||
|
@ -19,6 +19,7 @@
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
/* coverity[os_cmd_sink] intentionally passing argv */
|
||||
return lvm2_main(argc, argv);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user