Fix leaks, found by audit

Submitted by Dmitry Safonov on Sept. 28, 2016, 2:05 p.m.

Details

Reviewer None
Submitted Sept. 28, 2016, 2:05 p.m.
Last Updated Sept. 29, 2016, 12:11 a.m.
Revision 1

Cover Letter

Dmitry Safonov (5):
  cbt: don't leak ce_reserved64 in cbt_ito userspace
  ploop: don't leak ploop_freeblks_ctl_extent
  fs/quota: don't leak compat quotsctl structs
  netfilter: don't leak compat connmark, conntrack structs
  uapi/ploop/bc/vzctl: add comments about leaks

 block/blk-cbt.c                    |  1 +
 drivers/block/ploop/freeblks.c     |  1 +
 fs/quota/quota.c                   |  7 +++----
 include/linux/ploop/ploop_if.h     |  5 +++++
 include/uapi/linux/bc/statd.h      | 15 +++++++++++++++
 include/uapi/linux/vzctl_netstat.h | 10 ++++++++++
 net/netfilter/xt_connmark.c        | 22 ++++++++++++----------
 net/netfilter/xt_conntrack.c       | 17 +++++++++--------
 net/netfilter/xt_mark.c            | 20 +++++++++++---------
 9 files changed, 67 insertions(+), 31 deletions(-)
  

Revisions