Content-Disposition: inline To: dhcp-public@isc.org X-Mailer: MIME-tools 5.508 (Entity 5.508) Content-Transfer-Encoding: binary X-RT-Interface: Web From: tmark@isc.org Message-ID: Content-Type: text/plain; charset="utf-8" Subject: Using relative paths for for lease or config files can crash dhclient Date: Fri, 05 Jan 2018 12:30:34 +0000 MIME-Version: 1.0 X-RT-Original-Encoding: utf-8 Content-Length: 276 Not all systems support NULL for the second parameter to realpath(), yet in both dhclient.c and dhcpd.c, this is precisely what we do causing segfaults when using relative lease or config file arguments. Found this under NetBSD 6.2_BETA2 (GENERIC) i386, gcc version 4.5.3.