commit | 0034abfa45abc9d6a3b4382627a02a2c88d2d385 | [log] [tgz] |
---|---|---|
author | David van Moolenbroek <david@minix3.org> | Fri Nov 18 22:25:48 2016 +0000 |
committer | Dirk Ziegelmeier <dirk@ziegelmeier.net> | Mon Nov 21 10:16:28 2016 +0100 |
tree | e45a2bcec69b410dd250efa598d7b0b7e1712259 | |
parent | 31b0237c501652e6e18f0705e473004f5e20823a [diff] |
Always check whether netif_default is NULL In general, netif_default may be NULL, and various places in the code already check for this case before attempting to dereference the netif_default pointer. Some places do not perform this check though, and may cause null pointer dereferences if netif_default is not set. This patch adds NULL checks to those places as well.