* xgselect.c (xg_select): Check for size calculation overflow.