Hello Pavel, > 7 вер. 2019 р. о 10:36 пп Pavel Machek <pavel@xxxxxx> написав(ла): > > On Tue 2019-09-03 21:11:30, Oleh Kravchenko wrote: >> Hi Pavel, >> >> 3 вер. 2019 р. о 17:12 Pavel Machek <pavel@xxxxxx> пише: >> >>>> On Tue 2019-09-03 15:50:19, Oleh Kravchenko wrote: >>>> Error was detected by PVS-Studio: >>>> V512 A call of the 'sprintf' function will lead to overflow of >>>> the buffer 'led_data->led_cdev_name'. >>> >>> Are you sure this is correct fix? Will the name be always properly >>> null terminated? >> >> snprintf() always terminate string by NULL > > You are right, sorry for the noise. No problem. But what about patch? It’s ok for you? I don’t see any Acked-by or Reviewed-by :-) > Pavel > > -- > (english) http://www.livejournal.com/~pavelmachek > (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- Best regards, Oleh Kravchenko