Re: dm: Fix possible NULL dereferences

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

 



On Sun, Sep 19 2010 at  8:01pm -0400,
MichaÅ MirosÅaw <mirq-linux@xxxxxxxxxxxx> wrote:

> bio_alloc_bioset() might return NULL. Or maybe passed
> bio_sets are guaranteed to have enough free bios?

The passed bio_set is allocated in dm_alloc_md_mempools() using
bioset_create() -- so it does have allocation guarantees.

Mike

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel



[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux