confile_utils: simplify lxc_config_net_hwaddr
In addition to the memory corruption fixed in ee3e84df,
this function was also performing invalid memory accesses for the following inputs:
- `lxc.net`
- `lxc.net.`
- `lxc.net.0.`
- `lxc.network`
- `lxc.network.0.`
Signed-off-by:
Felix Abecassis <fabecassis@nvidia.com>
Showing
Please
register
or
sign in
to comment