-
Type:
Bug
-
Status: Resolved
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: 7.0.0
-
Fix Version/s: 7.0.0
-
Component/s: Security Manager
-
Labels:None
-
Environment:OBT
-
Pull Request URL:
-
Compatibility:Major
New defect(s) Reported-by: Coverity Scan Showing 1 of 1 defect(s)
*** CID 1473350: Error handling issues (CHECKED_RETURN) /mnt/disk1/home/vamosax/build/CE/platform/HPCC-Platform/system/security/securesocket/securesocket.cpp: 1718 in CSecureSmartSocketFactory::connect_timeout(unsigned int)() 1712 Owned<ISecureSocket> ssock; 1713 Owned<ISocket> sock = connect_sock(timeoutms, ss, ep); 1714 try 1715 { 1716 ssock.setown(secureContext->createSecureSocket(sock.getClear())); 1717 // secure_connect may also DBGLOG() errors ... >>> CID 1473350: Error handling issues (CHECKED_RETURN) >>> Calling "secure_connect" without checking return value (as is done elsewhere 5 out of 6 times). 1718 ssock->secure_connect(); 1719 } 1720 catch (IException *) 1721 { 1722 ss->status = false; 1723 throw;