summaryrefslogtreecommitdiff
path: root/src/nspawn/nspawn-expose-ports.c
diff options
context:
space:
mode:
authorMichael Chapman <mike@very.puzzling.org>2016-08-16 19:07:42 +1000
committerMichael Chapman <mike@very.puzzling.org>2016-08-16 19:07:42 +1000
commit856e309d7b18cabe18c845bdf57e92958343a9ec (patch)
tree27264904693ca22921b18e54b5ddce261030b3a1 /src/nspawn/nspawn-expose-ports.c
parent5f9a610ad2b3200a31bbd9181c810726eeb30385 (diff)
networkd: avoid NULL pointer dereference in route_add
If no result parameter is provided, do not attempt to write the found/newly-created route to it. This is presently not an issue as all callers currently provide a non-NULL result parameter, however we should do this for symmetry with address_add and future code robustness.
Diffstat (limited to 'src/nspawn/nspawn-expose-ports.c')
0 files changed, 0 insertions, 0 deletions