b23aec0d6b98bc99998786506a8769e1a1ea1841
Currently the local variable `address` is unintialized if the DHCP lease doesn't provide a router address (when r == -ENODATA). Thus the subsequent call to route_scope_from_address will result in accessing an unintialized variable. As a matter of fact, sd-dhcp-client ignores DHCP leases without an address so link_dhcp_set_routes probably will never be called without a valid address.
systemd - System and Service Manager
Details
General information about systemd can be found in the systemd Wiki.
Information about build requirements are provided in the README file.
Consult our NEWS file for information about what's new in the most recent systemd versions.
Please see the HACKING file for information how to hack on systemd and test your modifications.
Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.
When preparing patches for systemd, please follow our Coding Style Guidelines.
If you are looking for support, please contact our mailing list or join our IRC channel.
Languages
C
88.5%
Shell
5.7%
Python
4.6%
Meson
1.1%