Merge branch 'pci/controller/hyperv'
- Annotate struct hv_dr_state with __counted_by to prepare for array access bounds checking (Kees Cook) * pci/controller/hyperv: PCI: hv: Annotate struct hv_dr_state with __counted_by
This commit is contained in:
commit
7fa8fe0bd9
@ -545,7 +545,7 @@ struct hv_pcidev_description {
|
||||
struct hv_dr_state {
|
||||
struct list_head list_entry;
|
||||
u32 device_count;
|
||||
struct hv_pcidev_description func[];
|
||||
struct hv_pcidev_description func[] __counted_by(device_count);
|
||||
};
|
||||
|
||||
struct hv_pci_dev {
|
||||
|
Loading…
x
Reference in New Issue
Block a user