Revision 45385237f65aeee73641f1ef737d7273905a233f authored by Ondrej Mosnacek on 25 July 2019, 10:52:43 UTC, committed by Paul Moore on 31 July 2019, 20:51:23 UTC
Since roles_init() adds some entries to the role hash table, we need to destroy also its keys/values on error, otherwise we get a memory leak in the error path. Cc: <stable@vger.kernel.org> Reported-by: syzbot+fee3a14d4cdf92646287@syzkaller.appspotmail.com Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
1 parent acbc372
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...