Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E9DB5200BD3 for ; Tue, 6 Dec 2016 10:25:55 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E8723160B29; Tue, 6 Dec 2016 09:25:55 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3BA45160B0C for ; Tue, 6 Dec 2016 10:25:55 +0100 (CET) Received: (qmail 21949 invoked by uid 500); 6 Dec 2016 09:25:54 -0000 Mailing-List: contact dev-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mesos.apache.org Delivered-To: mailing list dev@mesos.apache.org Received: (qmail 21937 invoked by uid 99); 6 Dec 2016 09:25:53 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Dec 2016 09:25:53 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 54E5E185F2F for ; Tue, 6 Dec 2016 09:25:53 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.68 X-Spam-Level: X-Spam-Status: No, score=0.68 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=mesosphere.io Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 36QZi3kc4Xd7 for ; Tue, 6 Dec 2016 09:25:51 +0000 (UTC) Received: from mail-wj0-f173.google.com (mail-wj0-f173.google.com [209.85.210.173]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id BB4705FC4D for ; Tue, 6 Dec 2016 09:25:50 +0000 (UTC) Received: by mail-wj0-f173.google.com with SMTP id tk12so17562282wjb.3 for ; Tue, 06 Dec 2016 01:25:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mesosphere.io; s=google; h=from:content-transfer-encoding:mime-version:subject:date:references :to:in-reply-to:message-id; bh=nN0vblmDsO7kM8N4iB0cdzanORAsD9KmUyRFo73nJv4=; b=GHfViHOS4xH672b+J+VbRdOXQmZTkVwASMKoLC/Vz3oL+lqphN/Z88qwF7xCoEECg4 JegaajpqnZ2Q+vj0KtzWFKdFlIs5CHYbIPGZAE8sxlywvMOS2ugEBiqmwXMCpV3F4zyl NqMylRbxp4n+/Ng9Mt1GshPJ+NG2WVYNtmfzU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=nN0vblmDsO7kM8N4iB0cdzanORAsD9KmUyRFo73nJv4=; b=bjJyuHyfN9LZh/iDWdFERaFeqIZGolmKFzyfU5SJUBL/rw+JUJLfjfW9APIBD3TGAl e/QzcokG3jb1BJ1z7FoMFWS7uTW/D5VFx2SDN/g9WwSE113bxoiSL+H5s1FSW++bc+jK bruVj69udsW9Ma5yWtxqzQ7myJL9U8SBtwfR/NxR0WIEF6mn59RPco2xDl91SThfGF18 xNqScYwcfhCXU+3+hYsp1HKri2zHEb3fc8SIPedo6d1KxgsAZJpIc7I54+OjJALi84Ec TCCtVZU7xx9kP8efcfz++Zo+SZBGyP/komUgOe/dXR4/K/jSZ46OlF3U6xcNguaKSqDY lxag== X-Gm-Message-State: AKaTC01SDe7BhM8im4NRudMwAI5XUyfoAsd0z9KmF3dsWRr3Qd6HtWhJXEgEmIUg2XqQgF86 X-Received: by 10.194.205.225 with SMTP id lj1mr61129484wjc.122.1481016348522; Tue, 06 Dec 2016 01:25:48 -0800 (PST) Received: from [172.18.8.55] (gw.mesosphere.hamburg. [217.110.123.251]) by smtp.gmail.com with ESMTPSA id u81sm2991689wmu.10.2016.12.06.01.25.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Dec 2016 01:25:48 -0800 (PST) From: Benjamin Bannier Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: Re: New Defects reported by Coverity Scan for Mesos Date: Tue, 6 Dec 2016 10:25:47 +0100 References: <5846331281b38_76b87b53181865@ss1435.mail> To: dev , Kevin Klues In-Reply-To: <5846331281b38_76b87b53181865@ss1435.mail> Message-Id: X-Mailer: Apple Mail (2.3251) archived-at: Tue, 06 Dec 2016 09:25:56 -0000 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: >=20 >=20 > Hi, >=20 > Please find the latest report on new defect(s) introduced to Mesos = found with Coverity Scan. >=20 > 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. >=20 > New defect(s) Reported-by: Coverity Scan > Showing 1 of 1 defect(s) >=20 >=20 > ** CID 1396866: Uninitialized members (UNINIT_CTOR) > /src/slave/containerizer/mesos/io/switchboard.hpp: 216 in = mesos::internal::slave::IOSwitchboardServerFlags::IOSwitchboardServerFlags= ()() >=20 >=20 > = __________________________________________________________________________= ______________________________ > *** 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 =20 > 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 =20 > 218 bool tty; > 219 int stdin_to_fd; > 220 int stdout_from_fd; > 221 int stdout_to_fd; >=20 >=20 > = __________________________________________________________________________= ______________________________ > To view the defects in Coverity Scan visit, = https://u2389337.ct.sendgrid.net/wf/click?upn=3D08onrYu34A-2BWcWUl-2F-2BfV= 0V05UPxvVjWch-2Bd2MGckcRZ-2B0hUmbDL5L44V5w491gwGCJEE339V3aTW7x9nwB-2BHtQ-3= D-3D_GNnPkJalgkEpe7D7Qaq3CrPne-2BTvAT-2Fi7n61dNNZWw0LT4UjIw54ej3jbmv-2FYiV= XDjJUsA9QVMQvV4Sfsby3m0PwzOcH-2BQVR0-2BM9L8SQ2-2ByKpcrAY-2FYrBhypVx90UimTu= FH82MOmDuacMPl09f6qGnwqiYMgAuAXQkeP7xe5fFt4FXW-2FNXD9FQr81wjFJweyVjgohEE-2= FJHoC5FopCDKpNlr8mzY3OG5TRegXnTnrKag-3D >=20 > To manage Coverity Scan email notifications for = "benjamin.bannier@mesosphere.io", click = https://u2389337.ct.sendgrid.net/wf/click?upn=3D08onrYu34A-2BWcWUl-2F-2BfV= 0V05UPxvVjWch-2Bd2MGckcRbVDbis712qZDP-2FA8y06Nq4GpUVVgAxsS-2B56gradrUgiH-2= FS-2F-2BfpPbwW1sDtnGg27oOAryn3RWaGLxkl6Fxas54usbhxEUwvq9bIl7KdDUw8q8aXMKMC= I9rIzEGsYnltdyQ-2FMVlHEhp-2BMeSMzsZQajR-2B_GNnPkJalgkEpe7D7Qaq3CrPne-2BTvA= T-2Fi7n61dNNZWw0LT4UjIw54ej3jbmv-2FYiVXDjJUsA9QVMQvV4Sfsby3m4wQfYGKIemddc2= 6xkSxwIo0zDWM9yoxoFVxAI7N4qiKkCsTaKeelbOyrafNfR3H7ZoRWhh6ZiiUl-2BeP7SZcJfy= U5T2u-2BidZgdJLoy09J0KJDa8krt-2BXszVc9bLeJtXBpq5MYHZjGkso9fDIVZUQEy0-3D >=20