Messages in this thread | | | Date | Sat, 15 Mar 2008 02:13:29 +0100 | From | "Jesper Juhl" <> | Subject | Re: [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
| |