From owner-svn-src-all@freebsd.org Mon Jan 21 17:21:09 2019 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F05C014B0861; Mon, 21 Jan 2019 17:21:08 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-it1-f180.google.com (mail-it1-f180.google.com [209.85.166.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 955D06CC55; Mon, 21 Jan 2019 17:21:08 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-it1-f180.google.com with SMTP id g85so17414516ita.3; Mon, 21 Jan 2019 09:21:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=XHYUH0JjfzDSy0ndi9KGnooiUSfSejsBa+Cumd7t5UY=; b=YP4u6G5956/o65TuBaE0PgEFbkj++aPzQotcKseq4gy3b7Hr8h0XPQ5qgQ0lQM5Q8q uRhQPJb/RpUqedUZH4qkI6z+VykTVLIU8Patv412llLqqiSaWfwHnaBWqAedK2lD0sr6 pL3sPgwy48Zn3gdjTdbzygk+wf0K+5fwewRY7LCvqFbcXGoSLa68jEbkMbBaIV3YCspO if3vN7ORFnq6dH70A4RL+0zhvmR7QQUgLdUYEp+npxjwtUvUDotEvDyfsPlAbo0eQ7MG H9joLrELSWHTJW6Tm7J7+BqZcy1WZ0jP/Xklsnc7vcuRrSpVMmzK1HEQ2y+50gY6XR4X BOgQ== X-Gm-Message-State: AHQUAubDmHb+ewI0bORcQEwyVur0NVIOASv1r+0ZAY5MBu2CZaBKBVOr crzSNHs6mQslv4oJ8sH/Ypi/giRaYv2r85fjirvVI3j8 X-Google-Smtp-Source: ALg8bN7bD/icILYkgTt9Plf+GFhQJBv1zMWvCQgCN+yccNbmQRf/+d7fFAH3rAFQQsr3cwrthFW5XBeC+2oGpQEo6Bg= X-Received: by 2002:a05:660c:84e:: with SMTP id f14mr167179itl.33.1548090927484; Mon, 21 Jan 2019 09:15:27 -0800 (PST) MIME-Version: 1.0 References: <201901211712.x0LHCHwl072652@repo.freebsd.org> In-Reply-To: <201901211712.x0LHCHwl072652@repo.freebsd.org> From: Ed Maste Date: Mon, 21 Jan 2019 12:15:13 -0500 Message-ID: Subject: Re: svn commit: r343263 - head/sys/compat/linux To: src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 955D06CC55 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.94 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; NEURAL_HAM_SHORT(-0.94)[-0.943,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2019 17:21:09 -0000 On Mon, 21 Jan 2019 at 12:12, Ed Maste wrote: > > Author: emaste > Date: Mon Jan 21 17:12:16 2019 > New Revision: 343263 > URL: https://svnweb.freebsd.org/changeset/base/343263 > > Log: > linuxulator: fix stack memory disclosure in linux_sigaltstack > > Most siginfo_to_lsiginfo callers already zeroed the l_siginfo_t before > callit it, but linux_waitid did not. Instead of zeroing in the called > function to address linux_waitid (as in commit 2e6ebe70), just do it in > linux_waitid. Oops, I meant to edit the commit message to remove the git hash (from my WIP tree). My original change for this issue zeroed the struct in siginfo_to_lsiginfo.