lkml.org 
[lkml]   [2012]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] mpi: Avoid using freed pointer in mpi_lshift_limbs()
From
On Sat, Apr 14, 2012 at 11:32 PM, Jesper Juhl <jj@chaosbits.net> wrote:
> On Sat, 14 Apr 2012, James Morris wrote:
>
>> On Thu, 12 Apr 2012, Kasatkin, Dmitry wrote:
>>
>> > >> >> Signed-off-by: Jesper Juhl <jj@chaosbits.net>
>> > >> >> ---
>> > >> >>  lib/mpi/mpi-bit.c |    5 +++--
>> > >> >>  1 files changed, 3 insertions(+), 2 deletions(-)
>> > >> >>
>> > >> >>  only compile tested.
>>
>> > That is of course correct.
>> >
>> > James, can you please apply this patch to security fixes?
>> >
>> >  Acked-by: Dmitry Kasatkin <dmitry.kasatkin@intel.com>
>> >
>> > - Dmitry
>>
>> Has this patch been tested?
>>
> Personally I don't really have a way to test it properly, so the only
> testing I've personally done is to check that it compiles.
>

It works...
In fact there are few other places in the code which take pointer
after re-sizing...

- Dmitry

> --
> Jesper Juhl <jj@chaosbits.net>       http://www.chaosbits.net/
> Don't top-post http://www.catb.org/jargon/html/T/top-post.html
> Plain text mails only, please.
--
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/

\
 
 \ /
  Last update: 2012-04-16 07:37    [W:0.070 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site