summaryrefslogtreecommitdiff
path: root/lib/route/link/bridge.c
diff options
context:
space:
mode:
authorThorben Römer <36536632+TarEnethil@users.noreply.github.com>2022-10-17 14:55:48 +0200
committerThomas Haller <thaller@redhat.com>2023-07-24 19:38:34 +0200
commit6519a9173f900b364f014a2321a17aa6bf652e6d (patch)
tree96dc6b89b12805246c90fc548122c2dab9a6c5ac /lib/route/link/bridge.c
parentb5b04aab845ce65792af70886f634a86e83846ee (diff)
downloadlibnl-6519a9173f900b364f014a2321a17aa6bf652e6d.tar.gz
route/link: prevent segfault in af_request_type()
Check that ops->ao_override_rtm() is set before using it, which prevents a segfault whenever af_request_type() is called with a type that has ops but that does not initialize said function in their ops struct. https://github.com/thom311/libnl/pull/333
Diffstat (limited to 'lib/route/link/bridge.c')
0 files changed, 0 insertions, 0 deletions