Size overflow in sys_dup3