lkml.org 
[lkml]   [2008]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ide-tape: Avoid potential null pointer dereference in idetape_abort_pipeline()
On 15/03/2008, Johannes Weiner <hannes@saeurebad.de> wrote:
> Hi Jesper,
>
>
> Jesper Juhl <jesper.juhl@gmail.com> writes:
>
> > If a NULL 'new_last_stage' is passed to idetape_abort_pipeline() then
> > we'll dereference a NULL pointer and go *boom*.
> > The function does test for a null pointer, unfortunately it only does it
> > after having already dereferenced it.
>
>
> Did you hit an oops because of this?
>

No, I did not.


--
Jesper Juhl <jesper.juhl@gmail.com>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html


\
 
 \ /
  Last update: 2008-03-15 02:27    [W:0.027 / U:6.788 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site