This fixes a crash when a profile name contains a \n character which breaks profile name parsing. The fix is minimal in that it ignores the bad profile name and continues processing.
Ideally this name would not exist and is indicative of a bug in the kernel.
Fixes: #211 (closed) Signed-off-by: John Johansen john.johansen@canonical.com