Skip to contentSkip to conversation

Unitialized variable in libsepol

PATCH Daniel J Walsh 1 participant 1 message Jul 25, 2005 SELinux security module

lore
Share & tools
lore
#0 lore raw
Signature · 1 line
-- 
src/policydb.c renamed from src/policydb.c~ +1 -1
@@ -2428,7 +2428,7 @@
 
         len = buf[1];
         if (len != strlen(target_str)) {
-                printf("security:  policydb string length %zu does not match expected length %zu\n", len, strlen(policydb_str));
+                printf("security:  policydb string length %zu does not match expected length %zu\n", len, strlen(target_str));
                 return -1;
         }