lkml.org 
[lkml]   [2022]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH 1/2] lib/string_helpers: Introduce strsplit_u32()
    On Wed, Jul 13, 2022 at 11:14 AM David Laight <David.Laight@aculab.com> wrote:
    >
    > > if (pint)
    > > - *pint = value;
    > > + memcpy(pint, &value, min(nsize, sizeof(value)));
    >
    > That is just soooooo broken.

    OK.


    --
    With Best Regards,
    Andy Shevchenko

    \
     
     \ /
      Last update: 2022-07-13 11:41    [W:4.229 / U:0.768 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site