Re: [PATCH] Connman Faults When Loading Bogus, Empty Profiles

2011-02-07 Thread Samuel Ortiz
Hi Grant, On Fri, Feb 04, 2011 at 03:22:32PM -0800, Grant Erickson wrote: > Ignore malformed profiles. That is, if there is no non-extension portion to > the file (i.e. it is precisely named ".profile"), then ignore it. Passing > such files to create_profile will result in a SIGABRT. > I'm ok w

[PATCH] Connman Faults When Loading Bogus, Empty Profiles

2011-02-04 Thread Grant Erickson
Ignore malformed profiles. That is, if there is no non-extension portion to the file (i.e. it is precisely named ".profile"), then ignore it. Passing such files to create_profile will result in a SIGABRT. Regards, Grant --- diff -aruN a/src/profile.c b/src/profile.c --- a/src/profile.c 201