RE: [PATCH 1/2] lib/string_helpers: Introduce strsplit_u32()

From: David Laight
Date: Wed Jul 13 2022 - 05:14:24 EST


> if (pint)
> - *pint = value;
> + memcpy(pint, &value, min(nsize, sizeof(value)));

That is just soooooo broken.

David

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)