From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 20E36139083 for ; Mon, 4 Dec 2017 12:47:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4874FE0E82; Mon, 4 Dec 2017 12:47:48 +0000 (UTC) Received: from mail.freeharbor.net (unknown [104.239.232.230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2CC4DE0E82 for ; Mon, 4 Dec 2017 12:47:48 +0000 (UTC) Received: from Anthonys-MacBook-Pro.local (cpe-67-247-195-186.buffalo.res.rr.com [67.247.195.186]) by mail.freeharbor.net (Postfix) with ESMTPSA id ABC82180196 for ; Mon, 4 Dec 2017 12:47:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=freeharbor.net; s=mail; t=1512391664; bh=LXIXnJVphLiJ/EHps0zYgqWFan4xHhhlmB2RxGt6bKI=; h=Subject:To:References:From:Date:In-Reply-To; b=CzVOWAezHwCLfHuj7JgaZYLndxlMeLoFd0tpxcQ/1evL3nGyp9I+67svgVSvAWH36 eEN9Vu0RyMmcu/kCXnVWqU9BBvuywVwIu9u8aUx4la/hjOpueR3tnGX9baOsehYCt7 T4lF9YqsdYcUEWwzj9yR51v15QXYf2APXqmGORvc= Subject: Re: [eudev] [PATCH] udev-event.c: do not assign s to address to pointer To: eudev@lists.gentoo.org References: <20171202172103.2355-1-marcus.folkesson@gmail.com> From: "Anthony G. Basile" Message-ID: <8983f836-f9f0-7c4a-3b17-dd9b6857eec0@freeharbor.net> Date: Mon, 4 Dec 2017 07:47:46 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: eudev mailing list X-BeenThere: eudev@gentoo.org X-BeenThere: eudev@lists.gentoo.org MIME-Version: 1.0 In-Reply-To: <20171202172103.2355-1-marcus.folkesson@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Archives-Salt: 99042793-5503-4d55-b6e0-b72427098102 X-Archives-Hash: e8247547d38676154ee927d5ef87e222 On 12/2/17 12:21 PM, Marcus Folkesson wrote: > Solve a bug that could result in really nasty behavior. > > Signed-off-by: Marcus Folkesson > --- > src/udev/udev-event.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/udev/udev-event.c b/src/udev/udev-event.c > index 19079bf02..4120c04f2 100644 > --- a/src/udev/udev-event.c > +++ b/src/udev/udev-event.c > @@ -201,7 +201,7 @@ subst: > _s = s; > _l = l; > /* temporarily use sbuf */ > - s = &sbuf; > + s = sbuf; > l = UTIL_PATH_SIZE; > } > Do you know if this was caught upstream? -- Anthony G. Basile, Ph.D. Gentoo Linux Developer [Hardened] E-Mail : basile@freeharbor.net GnuPG FP : 1FED FAD9 D82C 52A5 3BAB DC79 9384 FA6E F52D 4BBA GnuPG ID : F52D4BBA