Linux-SCTP Archive mirror
 help / color / mirror / Atom feed
From: Qiumiao Zhang <zhangqiumiao1@huawei.com>
To: <linux-sctp@vger.kernel.org>, <marcelo.leitner@gmail.com>
Cc: <zhaowei23@huawei.com>, <caowangbao@huawei.com>,
	<yanan@huawei.com>, <zhangqiumiao1@huawei.com>
Subject: [PATCH lksctp-tools 0/5] fix memory leak and use valid conversion specifiers in printf()
Date: Thu, 16 Feb 2023 19:48:17 +0800	[thread overview]
Message-ID: <20230216114822.1000-1-zhangqiumiao1@huawei.com> (raw)

fix some memory leak and use %u as the valid conversion specifier of unsigned integers

Qiumiao Zhang (5):
  fix memory leak in sctp_status
  fix memory leak in test_peer_addr()
  use valid conversion specifiers in printf()
  fix memory leak of iov.iov_base
  fix memory leak in test_fragments

 src/apps/sctp_darn.c                  |  4 ++++
 src/apps/sctp_status.c                | 15 +++++++++++++++
 src/func_tests/test_fragments.c       |  1 +
 src/func_tests/test_sctp_sendvrecvv.c |  1 +
 src/testlib/sctputil.c                | 18 ++++++++++--------
 5 files changed, 31 insertions(+), 8 deletions(-)

-- 
2.27.0


             reply	other threads:[~2023-02-16 11:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-16 11:48 Qiumiao Zhang [this message]
2023-02-16 11:48 ` [PATCH lksctp-tools 1/5] fix memory leak in sctp_status Qiumiao Zhang
2023-02-16 12:43   ` David Laight
2023-02-16 11:48 ` [PATCH lksctp-tools 2/5] fix memory leak in test_peer_addr() Qiumiao Zhang
2023-02-16 11:48 ` [PATCH lksctp-tools 3/5] use valid conversion specifiers in printf() Qiumiao Zhang
2023-02-16 11:48 ` [PATCH lksctp-tools 4/5] fix memory leak of iov.iov_base Qiumiao Zhang
2023-02-16 11:48 ` [PATCH lksctp-tools 5/5] fix memory leak in test_fragments Qiumiao Zhang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230216114822.1000-1-zhangqiumiao1@huawei.com \
    --to=zhangqiumiao1@huawei.com \
    --cc=caowangbao@huawei.com \
    --cc=linux-sctp@vger.kernel.org \
    --cc=marcelo.leitner@gmail.com \
    --cc=yanan@huawei.com \
    --cc=zhaowei23@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).