Re: [PATCH v2 00/14] lib/mpi: bug fixes and cleanup

Nicolai Stange
2016-03-21T13:11:02Z

Herbert Xu <herbert@gondor.apana.org.au> writes:

> On Sun, Mar 20, 2016 at 01:31:21PM +0100, Nicolai Stange wrote:
>> The original v1 can be found here:
>>
>> http://lkml.kernel.org/g/1458237606-4954-1-git-send-email-nicstange@gmail.com
>>
>>
>> While v1 (hopefully) fixed some issues in mpi_write_sgl() and
>> mpi_read_buffer() introduced by
>> commit 2d4d1eea540b ("lib/mpi: Add mpi sgl helpers") and by
>> commit 9cbe21d8f89d ("lib/mpi: only require buffers as big as needed for
>> the integer"),
>> I missed that there are some, including out-of-bounds buffer accesses,
>> in mpi_read_raw_from_sgl() as well.
>>
>> Hence v2, which includes the original stuff from v1 plus my new fixes to
>> mpi_read_raw_from_sgl().
>>
>>
>> Applicable to linux-next-20160318.
>
> If you want these to go through the crypto tree please post them
> to linux-crypto@vger.kernel.org.

Thank you for your reply!

Actually I've been unsure where to send this since MAINTAINERS doesn't
say anything about lib/mpi/.

Nicolai