Fix stack smashing error in pointer management (new_pointer_pdu)