hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/security/selinux/ss/policydb.c
....@@ -2011,6 +2011,7 @@
20112011 if (!datum)
20122012 goto out;
20132013
2014
+ datum->next = NULL;
20142015 *dst = datum;
20152016
20162017 /* ebitmap_read() will at least init the bitmap */
....@@ -2023,7 +2024,6 @@
20232024 goto out;
20242025
20252026 datum->otype = le32_to_cpu(buf[0]);
2026
- datum->next = NULL;
20272027
20282028 dst = &datum->next;
20292029 }