1d831cd3a2
In pci_enumerate_ext_cap we assume the extended capability linked lists are always legal and correct, which might not be true when there was a faulty hardware. This patch adds checks (time to live) to guard against malformed extended capability linked lists. v2: Add error printing when node_limit <= 0. Tracked-On: #6571 Signed-off-by: Yifan Liu <yifan1.liu@intel.com> Reviewed-by: Wang, Yu1 <yu1.wang@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com> |
||
---|---|---|
.. | ||
pci.c |