summaryrefslogtreecommitdiffhomepage
path: root/src/ubus.c
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2019-09-23 22:06:00 +0200
committerHans Dedecker <dedeckeh@gmail.com>2019-10-01 22:31:14 +0200
commite76ad06d01d31fff4c482974138d2c4566e264cf (patch)
tree6529f958246a0da6e2538860831b68782ded833b /src/ubus.c
parent1d240094472c2a46096dc5a412ba4423a28b8ea3 (diff)
netlink: fix potential infinite loops
Fix potential infinite loops by checking the return code of nl_send_auto_complete; if nl_send_auto_complete fails pending will always have the value 1 as the finish callback will not be called resulting into an infinite loop Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'src/ubus.c')
0 files changed, 0 insertions, 0 deletions