[PATCH v2] d2d1: Fix the stack overflow error caused by d2d_cdt_triangulate().