On Sat, May 17, 2025 at 09:11:30AM +0530, rujra wrote:
To ensuring that the firmware_tag is properly null-terminated. When copying firmware tag strings to prevent buffer overflows and ensure data integrity.
The maximum size of tag is GB_FIRMWARE_U_TAG_MAX_SIZE = 10 bytes, and it may or may not be NULL-terminated. included in "greybus_firmware.h"
changes has been made at 3 positions: 1: update firmware tag 2: backend update firmware tag 3: backend update firmware tag with unipro
Signed-off-by: Rujra Bhatt braker.noob.kernel@gmail.com
From doesn't match Signed-off-by line.
The patch is corrupted and doesn't apply. Read the two paragraphs of Documentation/process/email-clients.rst.
This is a usespace program so I don't think it has a strscpy() function. How did you compile this?
regards, dan carpenter