diff options
| author | Michael Brown | 2015-03-03 01:29:42 +0100 |
|---|---|---|
| committer | Michael Brown | 2015-03-03 01:29:42 +0100 |
| commit | 0af3d14a2379fd7775ef09b5f882682496f7cbe6 (patch) | |
| tree | da442a2ccefd1789597d71119124b4f5fc709ba9 /src/include/usr/ipstat.h | |
| parent | [pci] Rewrite unrelicensable portions of pci.h (diff) | |
| download | ipxe-0af3d14a2379fd7775ef09b5f882682496f7cbe6.tar.gz ipxe-0af3d14a2379fd7775ef09b5f882682496f7cbe6.tar.xz ipxe-0af3d14a2379fd7775ef09b5f882682496f7cbe6.zip | |
[settings] Use list_first_entry() when unregistering child settings
Unregistering a child settings block can have almost arbitrary
effects, due to the call to apply_settings(). Avoid potentially
dereferencing a stale pointer by using list_first_entry() rather than
list_for_each_entry_safe() to iterate over the list of child settings.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/usr/ipstat.h')
0 files changed, 0 insertions, 0 deletions
