Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756931AbbDVNTE (ORCPT ); Wed, 22 Apr 2015 09:19:04 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:35324 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756240AbbDVNTC (ORCPT ); Wed, 22 Apr 2015 09:19:02 -0400 Date: Wed, 22 Apr 2015 14:18:54 +0100 From: Luis Henriques To: Joseph Salisbury Cc: gregkh@linuxfoundation.org, sasha.levin@oracle.com, kamal.mostafa@canonical.com, jslaby@suse.cz, peter@hurleysoftware.com, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [v3.12.y][v3.13.y-ckt][3.14.y][3.16.y-ckt][3.18.y][3.19.y][V2][PATCH 0/1] n_tty: Fix read buffer overwrite when no newline Message-ID: <20150422131854.GB3671@charon> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1976 Lines: 57 On Thu, Apr 16, 2015 at 02:57:26PM -0400, Joseph Salisbury wrote: > Hello, > > Please consider including mainline commit fb5ef9e7da39968fec6d6f37f20a23d23740c75e > in the next v3.12.y, v3.13.y-ckt, v3.14.y, 3.16.y-ckt, 3.18.y, and 3.19.y stable releases. > It was included mainline as of v4.0-rc1. It has been tested and confirmed to resolve > http://bugs.launchpad.net/bugs/1381005 . This bug was introduced in v3.12-rc1 when > commit 24a89d1 was applied. This commit is not needed in stable kernels prior to > v3.12.y. > > > commit fb5ef9e7da39968fec6d6f37f20a23d23740c75e > Author: Peter Hurley > Date: Fri Jan 16 15:05:39 2015 -0500 > > n_tty: Fix read buffer overwrite when no newline > > > This commit does not apply cleanly to the kernels versions mentined, so I performed > a backport, which is in email 1/1. > > The 3.12.y and 3.13.y-ckt stable releases first need a cherry pick of commit > 5c32d12378313e0096ea0d450462aa638a90fb6e. This is because in commit 5c32d123 > n_tty_receive_buf and n_tty_receive_buf2 were merged into n_tty_receive_buf_common, > which is where the backport makes the needed changes. > > Thanks a lot for the backport. I'm queuing it for the 3.16 kernel. Cheers, -- Lu?s > Sincerely, > > Joseph Salisbury > > Peter Hurley (1): > n_tty: Fix read buffer overwrite when no newline > > drivers/tty/n_tty.c | 106 +++++++++++++++++++++++++++++++++++++++------------- > 1 file changed, 79 insertions(+), 27 deletions(-) > > -- > 2.1.0 > > -- > To unsubscribe from this list: send the line "unsubscribe stable" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/