Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934953Ab3DOUzf (ORCPT ); Mon, 15 Apr 2013 16:55:35 -0400 Received: from 173-166-109-252-newengland.hfc.comcastbusiness.net ([173.166.109.252]:57007 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932162Ab3DOUzd (ORCPT ); Mon, 15 Apr 2013 16:55:33 -0400 Message-ID: <1366059320.3072.65.camel@shinybook.infradead.org> Subject: Re: [ 10/11] mtdchar: fix offset overflow detection From: David Woodhouse To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Suresh Siddha , Artem Bityutskiy , Linus Torvalds , Ben Hutchings , Brad Spengler , linux-mtd@lists.infradead.org Date: Mon, 15 Apr 2013 21:55:20 +0100 In-Reply-To: <20130415020614.846683113@linuxfoundation.org> References: <20130415020614.067692418@linuxfoundation.org> <20130415020614.846683113@linuxfoundation.org> Content-Type: multipart/signed; micalg="sha1"; protocol="application/x-pkcs7-signature"; boundary="=-pys0E/7V3joz09MgjTN2" X-Mailer: Evolution 3.6.4 (3.6.4-2.fc18) Mime-Version: 1.0 X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 9133 Lines: 139 --=-pys0E/7V3joz09MgjTN2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, 2013-04-14 at 19:17 -0700, Greg Kroah-Hartman wrote: > 3.0-stable review patch. If anyone has any objections, please let me kno= w. Please use f5cf8f07423b2677cebebcebc863af77223a4972 instead (for 3.4 too). --=20 dwmw2 --=-pys0E/7V3joz09MgjTN2 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Disposition: attachment; filename="smime.p7s" Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUr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N0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRp ZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0Q29tIENsYXNzIDEgUHJpbWFyeSBJbnRlcm1l ZGlhdGUgQ2xpZW50IENBAgMEJnowgacGCyqGSIb3DQEJEAILMYGXoIGUMIGMMQswCQYDVQQGEwJJ TDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2VjdXJlIERpZ2l0YWwgQ2VydGlm aWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xhc3MgMSBQcmltYXJ5IEludGVybWVk aWF0ZSBDbGllbnQgQ0ECAwQmejANBgkqhkiG9w0BAQEFAASCAQBh9TFZ1n2Fes2P7mXEg/2eLq1A 8Z/o85lIAmpmGiv8TfVKChCVOLRRv0vIA2RjqlbdCwtkc57S+Yh1zYldj2nYve+RINlO/MrtMRJx y5JXRUA9onUF68a5StXVmjCozUEnsG12BCAao1xbL2M7YZZ3Z0KdcaV0cri8XOnuvvQUIz+niDra cHl2odTHBikpt5gFEW4TmKTODGXB8fut0pmPBJPFxA93SHbIe42XY/hjDIgono3XN5E39uFCfHZ7 zi6nV9kWrsMCIFZZ2IqKjM7rxVPHReJ5ws/HjkeUp/izFRkn7Rg2K/6rSXi8yuQA3BCKmNkyLIAX 1SNAPvLeRHyfAAAAAAAA --=-pys0E/7V3joz09MgjTN2-- -- 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/