[PATCH 04/16] gdhcp: Fix potential NULL deref