Re: truncation in drivers/video/fbdev/neofb.c

2023-08-31 Thread Nick Desaulniers
On Thu, Aug 31, 2023 at 3:16 PM Helge Deller wrote: > > * Nick Desaulniers : > > On Thu, Aug 31, 2023 at 2:23 PM Helge Deller wrote: > > > > > > * Helge Deller : > > > > On 8/29/23 18:45, Nick Desaulniers wrote: > > > > > A recent change in clang made it better about spotting snprintf that > > >

Re: truncation in drivers/video/fbdev/neofb.c

2023-08-31 Thread Helge Deller
* Nick Desaulniers : > On Thu, Aug 31, 2023 at 2:23 PM Helge Deller wrote: > > > > * Helge Deller : > > > On 8/29/23 18:45, Nick Desaulniers wrote: > > > > A recent change in clang made it better about spotting snprintf that > > > > will result in truncation. Nathan reported the following instanc

Re: truncation in drivers/video/fbdev/neofb.c

2023-08-31 Thread Nick Desaulniers
On Thu, Aug 31, 2023 at 2:23 PM Helge Deller wrote: > > * Helge Deller : > > On 8/29/23 18:45, Nick Desaulniers wrote: > > > A recent change in clang made it better about spotting snprintf that > > > will result in truncation. Nathan reported the following instances: > > > > > > drivers/video/fbd

Re: truncation in drivers/video/fbdev/neofb.c

2023-08-31 Thread Helge Deller
* Helge Deller : > On 8/29/23 18:45, Nick Desaulniers wrote: > > A recent change in clang made it better about spotting snprintf that > > will result in truncation. Nathan reported the following instances: > > > > drivers/video/fbdev/neofb.c:1959:3: warning: 'snprintf' will always be > > truncate

Re: truncation in drivers/video/fbdev/neofb.c

2023-08-29 Thread Helge Deller
On 8/29/23 18:45, Nick Desaulniers wrote: Helge, A recent change in clang made it better about spotting snprintf that will result in truncation. Nathan reported the following instances: drivers/video/fbdev/neofb.c:1959:3: warning: 'snprintf' will always be truncated; specified size is 16, but f