Re: [PATCH] cfq_get_queue: fix possible NULL pointer access

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Oct 20 2007, Oleg Nesterov wrote:
> cfq_get_queue()->cfq_find_alloc_queue() can fail, check the returned value.

Thanks, applied! No normal IO paths use it without __GFP_WAIT, so it's
not a critical fix. But that could change in the future and then cause
allocation failure, so I'll add the patch.

-- 
Jens Axboe

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux