Blame SOURCES/ovt-Fix-a-Coverity-issue-reported-in-vgauth-serviceImpl-.patch

604589
From d14e2604b04f1b6b28eaa281f7760c89b2d2b4eb Mon Sep 17 00:00:00 2001
604589
From: Cathy Avery <cavery@redhat.com>
604589
Date: Thu, 25 Jul 2019 12:32:38 +0200
604589
Subject: [PATCH 15/16] Fix a Coverity issue reported in
604589
 vgauth/serviceImpl/verify.c
604589
604589
RH-Author: Cathy Avery <cavery@redhat.com>
604589
Message-id: <20190725123239.18274-16-cavery@redhat.com>
604589
Patchwork-id: 89718
604589
O-Subject: [RHEL8.1 open-vm-tools PATCH 15/16] Fix a Coverity issue reported in vgauth/serviceImpl/verify.c
604589
Bugzilla: 1602648
604589
RH-Acked-by: Vitaly Kuznetsov <vkuznets@redhat.com>
604589
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
604589
604589
commit 0c6ad5edceca60dc05eb9f3b1ee6ac42dc0455ef
604589
Author: Oliver Kurth <okurth@vmware.com>
604589
Date:   Wed Jul 3 14:28:56 2019 -0700
604589
604589
    Fix a Coverity issue reported in vgauth/serviceImpl/verify.c
604589
604589
Signed-off-by: Cathy Avery <cavery@redhat.com>
604589
604589
Conflicts: Minor copyright change
604589
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
604589
---
604589
 open-vm-tools/vgauth/serviceImpl/verify.c | 10 ++--------
604589
 1 file changed, 2 insertions(+), 8 deletions(-)
604589
604589
diff --git a/vgauth/serviceImpl/verify.c b/vgauth/serviceImpl/verify.c
604589
index e9a7531..9f90a79 100644
604589
--- a/vgauth/serviceImpl/verify.c
604589
+++ b/vgauth/serviceImpl/verify.c
604589
@@ -1,5 +1,5 @@
604589
 /*********************************************************
604589
- * Copyright (C) 2011-2017 VMware, Inc. All rights reserved.
604589
+ * Copyright (C) 2011-2019 VMware, Inc. All rights reserved.
604589
  *
604589
  * This program is free software; you can redistribute it and/or modify it
604589
  * under the terms of the GNU Lesser General Public License as published
604589
@@ -42,15 +42,9 @@
604589
 VGAuthError
604589
 ServiceInitVerify(void)
604589
 {
604589
-   VGAuthError err;
604589
 
604589
    CertVerify_Init();
604589
-   err = SAML_Init();
604589
-   if (err != VGAUTH_E_OK) {
604589
-      goto done;
604589
-   }
604589
-done:
604589
-   return err;
604589
+   return SAML_Init();
604589
 }
604589
 
604589
 
604589
-- 
604589
1.8.3.1
604589