profiles: Handle corrupt profiles.xml
If profiles.xml is corrupt or is an empty file, the parser will go into an infinite loop because no check for END_DOCUMENT is done. Add the check to avoid a freeze on boot. Change-Id: I9216d85663928a030260136f027fae775c8df684
Loading
Please register or sign in to comment