Continuing on to the next waypoint could mean flying into an obstacle, so I've been a bit torn about what to do. My initial feeling was that if the path is invalid, then it might be time to return to base. So far, this doesn't happen because I sanity check the path planner output, but there's nothing that stops an erroneous path descriptor from being set after the path planner has completed.