You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by Benjamin Bannier <be...@mesosphere.io> on 2016/12/06 09:25:47 UTC

Re: New Defects reported by Coverity Scan for Mesos

Hi,

I filed https://issues.apache.org/jira/browse/MESOS-6726 to address this issue in particular and https://issues.apache.org/jira/browse/MESOS-6727 to more generally remove the dangerous overload used here.

HTH,

Benjamin

> On Dec 6, 2016, at 4:40 AM, scan-admin@coverity.com wrote:
> 
> 
> Hi,
> 
> Please find the latest report on new defect(s) introduced to Mesos found with Coverity Scan.
> 
> 1 new defect(s) introduced to Mesos found with Coverity Scan.
> 2 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.
> 
> New defect(s) Reported-by: Coverity Scan
> Showing 1 of 1 defect(s)
> 
> 
> ** CID 1396866:  Uninitialized members  (UNINIT_CTOR)
> /src/slave/containerizer/mesos/io/switchboard.hpp: 216 in mesos::internal::slave::IOSwitchboardServerFlags::IOSwitchboardServerFlags()()
> 
> 
> ________________________________________________________________________________________________________
> *** CID 1396866:  Uninitialized members  (UNINIT_CTOR)
> /src/slave/containerizer/mesos/io/switchboard.hpp: 216 in mesos::internal::slave::IOSwitchboardServerFlags::IOSwitchboardServerFlags()()
> 210             "first connection before reading any data from the '*_from_fd's.");
> 211     
> 212         add(&IOSwitchboardServerFlags::socket_path,
> 213             "socket_address",
> 214             "The path of the unix domain socket this\n"
> 215             "io switchboard should attach itself to.");
>>>>    CID 1396866:  Uninitialized members  (UNINIT_CTOR)
>>>>    Non-static class member "wait_for_connection" is not initialized in this constructor nor in any functions that it calls.
> 216       }
> 217     
> 218       bool tty;
> 219       int stdin_to_fd;
> 220       int stdout_from_fd;
> 221       int stdout_to_fd;
> 
> 
> ________________________________________________________________________________________________________
> To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRZ-2B0hUmbDL5L44V5w491gwGCJEE339V3aTW7x9nwB-2BHtQ-3D-3D_GNnPkJalgkEpe7D7Qaq3CrPne-2BTvAT-2Fi7n61dNNZWw0LT4UjIw54ej3jbmv-2FYiVXDjJUsA9QVMQvV4Sfsby3m0PwzOcH-2BQVR0-2BM9L8SQ2-2ByKpcrAY-2FYrBhypVx90UimTuFH82MOmDuacMPl09f6qGnwqiYMgAuAXQkeP7xe5fFt4FXW-2FNXD9FQr81wjFJweyVjgohEE-2FJHoC5FopCDKpNlr8mzY3OG5TRegXnTnrKag-3D
> 
> To manage Coverity Scan email notifications for "benjamin.bannier@mesosphere.io", click https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRbVDbis712qZDP-2FA8y06Nq4GpUVVgAxsS-2B56gradrUgiH-2FS-2F-2BfpPbwW1sDtnGg27oOAryn3RWaGLxkl6Fxas54usbhxEUwvq9bIl7KdDUw8q8aXMKMCI9rIzEGsYnltdyQ-2FMVlHEhp-2BMeSMzsZQajR-2B_GNnPkJalgkEpe7D7Qaq3CrPne-2BTvAT-2Fi7n61dNNZWw0LT4UjIw54ej3jbmv-2FYiVXDjJUsA9QVMQvV4Sfsby3m4wQfYGKIemddc26xkSxwIo0zDWM9yoxoFVxAI7N4qiKkCsTaKeelbOyrafNfR3H7ZoRWhh6ZiiUl-2BeP7SZcJfyU5T2u-2BidZgdJLoy09J0KJDa8krt-2BXszVc9bLeJtXBpq5MYHZjGkso9fDIVZUQEy0-3D
>