Commits

Anonymous committed 93b5d29

libselinux: Fix zygote crash when debug enabled

Update the prefix matching code in #if DEBUG otherwise zygote will crash.

  • Participants
  • Parent commits a56b158
  • Branches seandroid, seandroid-4.3 1
    1. seandroid-4.4

Comments (0)

Files changed (1)

File src/android.c

 			cur = seapp_contexts[i];
 			selinux_log(SELINUX_INFO, "%s:  isSystemServer=%s user=%s seinfo=%s name=%s sebool=%s -> domain=%s type=%s level=%s levelFrom=%s",
 			__FUNCTION__,
-			cur->isSystemServer ? "true" : "false", cur->user,
-			cur->seinfo, cur->name, cur->sebool, cur->domain,
+			cur->isSystemServer ? "true" : "false", cur->user.str,
+			cur->seinfo, cur->name.str, cur->sebool, cur->domain,
 			cur->type, cur->level,
 			levelFromName[cur->levelFrom]);
 		}