Check mb_pos is big enough before trying to access data left or above.