Michael Büsch <m@xxxxxxx> writes: > strncpy might not NUL-terminate the string, if the name equals the buffer size. > Use strlcpy instead. > > Signed-off-by: Michael Buesch <m@xxxxxxx> > Cc: stable@xxxxxxxxxxxxxxx This is weird, with all the patches you submitted last week I get this if I download the patch from patchwork: $ git am -s 1.mbox Patch is empty. Was it split wrong? But if I download the patch directly from my IMAP folder I have no problems: $ git am -s 1.mbox Applying: b43/leds: Ensure NUL-termination of LED name string This happens even without my custom patchwork script so this has something to do with the patchwork server, but it's not obvious to me what triggers it. IIRC I have not seen anything like this before. It seems that you didn't use git-send-email, I strongly suggest to use that just to avoid problems like this. Anyway, applied manually: 2aa650d1950f b43/leds: Ensure NUL-termination of LED name string -- Kalle Valo