Re: [PATCH v2] lib/cmdline: prevent unintented access to address

From: Andy Shevchenko
Date: Wed Dec 09 2020 - 07:24:54 EST


On Thu, Aug 13, 2020 at 05:00:09PM +0300, Andy Shevchenko wrote:
> On Thu, Aug 13, 2020 at 12:07:41PM +0900, Seungil Kang wrote:

> And your test case / module would help a lot, if present.

Just a heads up: I have created a cmdline_kunit.c to test functions
in the module (currently only get_option() test cases are there).
It's in Andrew's quilt, pending for v5.11-rc1.
Feel free to extend it along with amended fix (as per my comments).

--
With Best Regards,
Andy Shevchenko