From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1afuUH-0002dX-Mi for mharc-grub-devel@gnu.org; Tue, 15 Mar 2016 15:18:37 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55128) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afuUG-0002cp-4z for grub-devel@gnu.org; Tue, 15 Mar 2016 15:18:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1afuUA-00059Y-Ip for grub-devel@gnu.org; Tue, 15 Mar 2016 15:18:36 -0400 Received: from mail-lb0-x22f.google.com ([2a00:1450:4010:c04::22f]:36666) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afuUA-00059U-Aa for grub-devel@gnu.org; Tue, 15 Mar 2016 15:18:30 -0400 Received: by mail-lb0-x22f.google.com with SMTP id x1so33633766lbj.3 for ; Tue, 15 Mar 2016 12:18:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=eSHJlTI6RYOkk2Q3pyjNWTuceeuGY44+DdKy5jLE7A4=; b=mzwiGbJW6vUOD9HR6Rzlo/TwfGf7VxoVS2c0SbYMVFxh03GU46LuAFa4PDN6g8RuJq qveX1hKahQoElnER1h36QR93iIRZm6sn7r5Mhi6a7UXfuBN08oz5Rt7DyCaCxwyNW7KP vGOS6wmV10kFVCQpjP6uud0XtxJ35syLFI91VfFZLEbPr4/UwnTp/I9+ze7uBCecWvnr iqK8pfj6SPCkoJ+cTDYkIUOeEcA2Q34rQj8jjGLWgH6JYOW0mPUbVolbUROMe62BlM5f heA3LyJRiawgYYiiLwwHcoE/b8oKpe4c96xng8wpG7eJ0ItdMUQqa2kQA5BEhvF//aQ4 QR5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=eSHJlTI6RYOkk2Q3pyjNWTuceeuGY44+DdKy5jLE7A4=; b=cpY6UjYISeNlT/b5X8qqrDpBsNN0+9tq4EOAYlqRBpvCJU19g8boG1SyQhPYOAvE5D o3JOFa2Gl4Q86CimqvcJ9UWGgMQaspKpmBdOji6DNzV4cavg/Wlqq++3YrkhQXj/9tII zxQ4dbE/LPWePT5bpozT6HTrDi/F70vbmNfSKKhTRABOELrFMJtjwpnc97ysya/LQpWd tpc1Qq5BbN6gAR4/Y5qj4vWAjqbaQuIgsbw3QZ8IFD66uY0H2FDS/2wusZTubQWFtlCB rCXVajiYalEqdF/smTV5qWMxIUDjdQHnYi0iB5Lnvt4FjnSJKxvPTZzea8DVKUmXBVac 7TUQ== X-Gm-Message-State: AD7BkJKXSKitVH+OYZ2S4zD6YM9J1IacFH8ib4evuxqD04Qg5AfEefSH3j92cnWT244YgQ== X-Received: by 10.112.235.5 with SMTP id ui5mr11027896lbc.111.1458069509539; Tue, 15 Mar 2016 12:18:29 -0700 (PDT) Received: from [192.168.1.42] (ppp109-252-76-159.pppoe.spdop.ru. [109.252.76.159]) by smtp.gmail.com with ESMTPSA id gp6sm4448916lbc.44.2016.03.15.12.18.27 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 15 Mar 2016 12:18:28 -0700 (PDT) Subject: Re: 2.02-beta3 remove attempt to free stack space and initialize variable before possible use To: Aaron Luft References: <37E3C737-047D-4F32-9A09-CC2F154C45DF@lifesize.com> <56E6F655.8090207@gmail.com> <90AB4A90-8A7B-429C-9EA7-B6E337A492EA@lifesize.com> From: Andrei Borzenkov Message-ID: <56E86003.7000002@gmail.com> Date: Tue, 15 Mar 2016 22:18:27 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <90AB4A90-8A7B-429C-9EA7-B6E337A492EA@lifesize.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c04::22f Cc: "grub-devel@gnu.org" X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Mar 2016 19:18:37 -0000 15.03.2016 00:21, Aaron Luft пишет: > >> On Mar 14, 2016, at 1:35 PM, Andrei Borzenkov wrote: >> Yes, this is one correct. Please resend as attached patch generated by >> "git format-patch" with suitable commit message. Do not expand tabs when >> editing. >> > Ok, attaching the patch to this mail. > I committed the iso9660 patch adding commit message with some explanation. >> >> Well ... it cannot really reach code where mdnobj is used if >> grub_zfs_getmdnobj() fails but static analyzer may not know it. >> >> How do you compile it? I cannot reproduce it using gcc 5.3.1 nor did it >> fail previously. Do you use non-standard compiler flags? > > Yes, non-standard command line. > I found an extra -Wall that the standard build doesn't have. > We use -Wall always. The problem is apparently caused by using LTO. Could you upload somewhere full log of configure && make with this error?