]> wimlib.net Git - wimlib/blobdiff - src/security.c
Various cleanups
[wimlib] / src / security.c
index 63ab5ba090984a0cc8f0656bc7d27d44cdce1972..c05dd06f11168ce21a49e0dd721736f7eb75a0b4 100644 (file)
@@ -285,6 +285,8 @@ static void print_security_descriptor(const u8 *p, u64 size)
  */
 void print_security_data(const struct wim_security_data *sd)
 {
+       wimlib_assert(sd != NULL);
+
        puts("[SECURITY DATA]");
        printf("Length            = %"PRIu32" bytes\n", sd->total_length);
        printf("Number of Entries = %"PRIu32"\n", sd->num_entries);