summaryrefslogtreecommitdiff
path: root/man/systemd-initctl.service.xml
diff options
context:
space:
mode:
authorDaniel Mack <github@zonque.org>2016-07-15 04:56:11 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-07-14 22:56:11 -0400
commita34349e73348d16d0f41910a38f515f78d18d396 (patch)
tree9816086dbef8e3f0ab58cf3d0fbafaba191bbd3f /man/systemd-initctl.service.xml
parentf749954d924dc126fd3b8a5539b537ddb1a07f71 (diff)
network-ndisc: avoid VLAs (#3725)
Do not allocate objects of dynamic and potentially large size on the stack to avoid both clang compilation errors and unpredictable runtime behavior on exotic platforms. Use the heap for that instead. While at it, refactor the code a bit. Access 's->domain' via NDISC_DNSSL_DOMAIN(), and refrain from allocating 'x' independently, but rather reuse 's' if we're dealing with a new entry to the set. Fixes #3717
Diffstat (limited to 'man/systemd-initctl.service.xml')
0 files changed, 0 insertions, 0 deletions