On Sat, Aug 20, 2005 at 07:11:43PM -0500, Mike Hokenson wrote: > > In -88, u->scontext is set to NULL if get_security_context() fails (i > think) and in free_user() there's a freecon() call on u->scontext but no > NULL check. Maybe that's where the problem is?
Your assessment looks quite correct. Libselinux does this: void freecon(security_context_t con) { free(con); } So it might be the source of the error. This code was introduced by #264320. I'm going to upload a new version right away, please let me now if this fixes the bug. Thanks for your help assessing this issue. Regards Javier
signature.asc
Description: Digital signature