diff options
-rw-r--r-- | security/selinux/ss/mls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/ss/mls.c b/security/selinux/ss/mls.c index 640d0bfdbc68..84047f69f9c1 100644 --- a/security/selinux/ss/mls.c +++ b/security/selinux/ss/mls.c | |||
@@ -264,7 +264,7 @@ int mls_context_to_sid(char oldc, | |||
264 | 264 | ||
265 | if (!selinux_mls_enabled) { | 265 | if (!selinux_mls_enabled) { |
266 | if (def_sid != SECSID_NULL && oldc) | 266 | if (def_sid != SECSID_NULL && oldc) |
267 | *scontext += strlen(*scontext); | 267 | *scontext += strlen(*scontext)+1; |
268 | return 0; | 268 | return 0; |
269 | } | 269 | } |
270 | 270 | ||