mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-24 17:23:25 -05:00
Merge branch 'stable-4.13' of git://git.infradead.org/users/pcmoore/audit
Pull audit fix from Paul Moore: "A small audit fix, just a single line, to plug a memory leak in some audit error handling code" * 'stable-4.13' of git://git.infradead.org/users/pcmoore/audit: audit: fix memleak in auditd_send_unicast_skb.
This commit is contained in:
commit
f58781c983
1 changed files with 1 additions and 0 deletions
|
@ -641,6 +641,7 @@ static int auditd_send_unicast_skb(struct sk_buff *skb)
|
|||
ac = rcu_dereference(auditd_conn);
|
||||
if (!ac) {
|
||||
rcu_read_unlock();
|
||||
kfree_skb(skb);
|
||||
rc = -ECONNREFUSED;
|
||||
goto err;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue