From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Korsgaard Date: Wed, 31 Jan 2018 08:51:22 +0100 Subject: [Buildroot] [PATCH] rpcbind: Backport fixes to memory leak security fix In-Reply-To: <20180118180531.8149-1-ed.blake@sondrel.com> (Ed Blake's message of "Thu, 18 Jan 2018 18:05:31 +0000") References: <20180118180531.8149-1-ed.blake@sondrel.com> Message-ID: <87372ma2kl.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Ed" == Ed Blake writes: > Commit 954509f added a security fix for CVE-2017-8779, involving > pairing all svc_getargs() calls with svc_freeargs() to avoid a memory > leak. However it also introduced a couple of issues: > - The call to svc_freeargs() from rpcbproc_callit_com() may result in > an attempt to free static memory, resulting in undefined behaviour. > - A typo in the svc_freeargs() call from pmapproc_dump() causes NIS > (aka ypbind) to fail. > Backport upstream fixes for these issues to version 0.2.3. > Change-Id: Ib6cb19d51c0ae682e3868593ef78edea4ef587be > Signed-off-by: Ed Blake Committed to 2017.02.x, thanks. -- Bye, Peter Korsgaard