Re: [PATCH] kib/uuid.c: add check for length for uuid_is_valid

From: Andy Shevchenko
Date: Sat Jan 21 2023 - 05:57:44 EST


On Sat, Jan 21, 2023 at 02:38:02AM +0500, Alexander Pantyukhin wrote:

Thank you for the patch.

> Add check for length strict equality for uuid is valid

UUID

Missing period at the end of sentence.

...

Why do you think it's a problem?

Have you checked all callers if they strictly using this API and not to parse
something like:

UUID ...other data...\0

?

--
With Best Regards,
Andy Shevchenko