kernel/security/selinux/ss/policydb.c
.. .. @@ -2011,6 +2011,7 @@ 2011 2011 if (!datum) 2012 2012 goto out; 2013 2013 2014 + datum->next = NULL;2014 2015 *dst = datum; 2015 2016 2016 2017 /* ebitmap_read() will at least init the bitmap */ .. .. @@ -2023,7 +2024,6 @@ 2023 2024 goto out; 2024 2025 2025 2026 datum->otype = le32_to_cpu(buf[0]); 2026 - datum->next = NULL;2027 2027 2028 2028 dst = &datum->next; 2029 2029 }