-
Erik de Castro Lopo authored
In the case where seek_table->num_points is zero, seek_table->points will be NULL and passing that to qsort() invokes undefined behaviour. Since seek_table->num_points is zero, the only sensible thing to do is to short circuit return 0.
a1458164