Hello! On 4/20/22 9:40 AM, Greg Kroah-Hartman wrote: Thanks for the (unusually?) prompt reply! :-) >> The USB device dump code uses the sprintf() calls with a 2-page buffer, >> leaving 256 bytes at the end of that buffer to prevent buffer overflow. >> Using scnprntf() instead eliminates the very possibility of the buffer >> overflow, while also simplifying the code. This however is achieved at >> the expense of not printing the "(truncated)" line anymore when the end >> of that buffer is actually reached; instead a possible partial line at >> the end of buffer (not ending with '\n') is now not printed. > > So you just changed a user-visable abi :( debugfs is an ABI too? :-) > Please no, obviously that is not allowed. Oh, well... I'll prepare another patch then: some of the checks in this file are clearly redundant... > greg k-h MBR, Sergey