public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: Chuck Lever <chuck.lever@oracle.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH] tirpc_clnt_destroy: Determine the return value of clnt_create()
Date: Mon, 21 Oct 2024 14:22:31 +0200	[thread overview]
Message-ID: <20241021122231.GA463560@pevik> (raw)
In-Reply-To: <ZvVklazV8ZF4xE1k@tissot.1015granger.net>

Hi all,

> On Thu, Sep 26, 2024 at 12:13:58PM +0800, Ma Xinjian wrote:
> > Determine the return value of clnt_create() to avoid segmentation fault
> > when executing clnt_destroy() when the return value of create is NULL.

...

> That's the basic idea. And then apply the same fix to other tests
> that call the clnt_create(3) APIs.

Thanks a lot for fix and review, very much appreciated.
@Ma Xinjian or @Chen Hanxiao, could you please add this cleanup to all tests
which use clnt_create() as Chuck suggested?

Kind regards,
Petr

> Reviewed-by: Chuck Lever <chuck.lever@oracle.com>

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

  reply	other threads:[~2024-10-21 12:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-26  4:13 [LTP] [PATCH] tirpc_clnt_destroy: Determine the return value of clnt_create() Ma Xinjian via ltp
2024-09-26 13:41 ` Chuck Lever via ltp
2024-10-21 12:22   ` Petr Vorel [this message]
2024-09-27  2:12 ` Hanxiao Chen (Fujitsu) via ltp

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=20241021122231.GA463560@pevik \
    --to=pvorel@suse.cz \
    --cc=chuck.lever@oracle.com \
    --cc=ltp@lists.linux.it \
    /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