From: patchwork-bot+ofono@kernel.org
To: Sean Nyekjaer <sean@geanix.com>
Cc: denkenz@gmail.com, ofono@lists.linux.dev
Subject: Re: [PATCH] qmi: avoid free of non heap object
Date: Fri, 27 Jun 2025 21:20:05 +0000 [thread overview]
Message-ID: <175105920526.2062756.3028536748527933023.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20250626081625.1362728-1-sean@geanix.com>
Hello:
This patch was applied to ofono.git (master)
by Denis Kenzior <denkenz@gmail.com>:
On Thu, 26 Jun 2025 10:16:24 +0200 you wrote:
> qmux_create_client_timeout() free's a non heap object, avoid calling
> __request_free() and inline free_request() instead.
>
> In function 'l_free',
> inlined from '__request_free' at drivers/qmimodem/qmi.c:293:3,
> inlined from 'qmux_create_client_timeout' at drivers/qmimodem/qmi.c:1427:2:
> ell/util.c:124:9: warning: 'free' called on pointer 'user_data_6(D)' with nonzero offset 28 [-Wfree-nonheap-object]
> 124 | free(ptr);
> | ^
>
> [...]
Here is the summary with links:
- qmi: avoid free of non heap object
https://git.kernel.org/pub/scm/network/ofono/ofono.git/?id=8d892785e47b
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2025-06-27 21:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-26 8:16 [PATCH] qmi: avoid free of non heap object Sean Nyekjaer
2025-06-26 15:11 ` Denis Kenzior
2025-06-26 17:52 ` Sean Nyekjaer
2025-06-27 21:20 ` patchwork-bot+ofono [this message]
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=175105920526.2062756.3028536748527933023.git-patchwork-notify@kernel.org \
--to=patchwork-bot+ofono@kernel.org \
--cc=denkenz@gmail.com \
--cc=ofono@lists.linux.dev \
--cc=sean@geanix.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.