From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/9359 Path: news.gmane.org!not-for-mail From: Alexander Monakov Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH] slim down and avoid undefined behavior in unsetenv Date: Sat, 20 Feb 2016 21:18:50 +0300 (MSK) Message-ID: References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1455992345 1209 80.91.229.3 (20 Feb 2016 18:19:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 20 Feb 2016 18:19:05 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-9372-gllmg-musl=m.gmane.org@lists.openwall.com Sat Feb 20 19:19:05 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1aXC7U-0007Hn-73 for gllmg-musl@m.gmane.org; Sat, 20 Feb 2016 19:19:04 +0100 Original-Received: (qmail 7585 invoked by uid 550); 20 Feb 2016 18:19:02 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 7564 invoked from network); 20 Feb 2016 18:19:02 -0000 In-Reply-To: User-Agent: Alpine 2.20 (LNX 67 2015-01-07) Xref: news.gmane.org gmane.linux.lib.musl.general:9359 Archived-At: On Sat, 20 Feb 2016, Alexander Monakov wrote: > diff --git a/src/env/unsetenv.c b/src/env/unsetenv.c > index 3569335..f0f369f 100644 > --- a/src/env/unsetenv.c > +++ b/src/env/unsetenv.c > @@ -1,31 +1,28 @@ > #include ^^^^^^^^^^^^^^^^^^^ This was used for the declaration of free() and can be removed with that patch. Alexander