Fixed possible crash with invalid char profile pkts.