Re: [PATCH] selftests/mm: check strdup() and fix buf leak in parse_test_type()

From: David Hildenbrand (Arm)

Date: Tue Aug 25 2026 - 07:03:46 EST


On 8/21/26 22:14, Anshuman Tewari wrote:
> Sounds good, no objection from me — happy to go with your version.
>
> One small ask: since this fixes the issue from my original patch,
> could you add a Reported-by: Anshuman Tewari
> <anshumantewari123@xxxxxxxxx> when you post/apply it?

We typically use Reported-by: for actual bugs and must accompany it with a
Closes: link. That doesn't quite apply here because this isn't really
something that would ever trigger and really needs fixing. It's

Suggested-by or Debugged-by also don't apply here.

I will add

"
This patch is inspired by previous work from Anshuman Tewari [1].

Link: https://lore.kernel.org/r/20260821114416.12255-1-anshumantewari123@xxxxxxxxx [1]
"

If you want you can send your Reviewed-by or Tested-by tags once
I send it out officially.

--
Cheers,

David