Re: 2.4.0-test8: Ooops in soundcore

From: Alexander Viro (viro@math.psu.edu)
Date: Sat Sep 09 2000 - 14:19:16 EST


On Sat, 9 Sep 2000, Peter Steiner wrote:

> new_fops = fops_get(s->unit_fops);
> 0x521 <soundcore_open+81>: movl 0x4(%ebx),%eax

        ITYM

> #define fops_get(fops) \
> (((fops) && (fops)->owner) \
                      ^^^^^^^^^^^^^ Bang!

fops (== s->unit_ops) points to hell.

> ? ( try_inc_mod_count((fops)->owner) ? (fops) : NULL ) \
> : (fops))
> ^^^^^^^^^^^^ Bang!

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Sep 15 2000 - 21:00:12 EST