Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'selinux-pr-20220518' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux

Pull selinux fix from Paul Moore:
"A single SELinux patch to fix an error path that was doing the wrong
thing with respect to freeing memory"

* tag 'selinux-pr-20220518' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux:
selinux: fix bad cleanup on error in hashtab_duplicate()

+2 -1
+2 -1
security/selinux/ss/hashtab.c
··· 179 179 kmem_cache_free(hashtab_node_cachep, cur); 180 180 } 181 181 } 182 - kmem_cache_free(hashtab_node_cachep, new); 182 + kfree(new->htable); 183 + memset(new, 0, sizeof(*new)); 183 184 return -ENOMEM; 184 185 } 185 186