Re: [PATCH] kunit/overflow: Fix UB in overflow_allocation_test
From: Ivan Orlov
Date: Thu Aug 15 2024 - 21:28:10 EST
On 8/16/24 00:04, Andrew Morton wrote:
On Thu, 15 Aug 2024 01:04:31 +0100 Ivan Orlov <ivan.orlov0322@xxxxxxxxx> wrote:
Subject: [PATCH] kunit/overflow: Fix UB in overflow_allocation_test
What's "UB", btw?
UB in the patch title stands for "undefined behavior", since passing a
pointer with such a short lifetime to kunit_device_register causes one.
I was not sure about how to call this type of issues (misallocation,
probably?), so I decided to give it a generic name :)
--
Kind regards,
Ivan Orlov