From mboxrd@z Thu Jan 1 00:00:00 1970 From: Claude Code Review Bot To: dri-devel-reviews@example.com Subject: Claude review: fbdev: fm2fb: Use safer strscpy() instead of strcpy() Date: Tue, 28 Apr 2026 15:38:41 +1000 Message-ID: In-Reply-To: <20260425065926.1091168-12-aichao@kylinos.cn> References: <20260425065926.1091168-1-aichao@kylinos.cn> <20260425065926.1091168-12-aichao@kylinos.cn> X-Mailer: Claude Code Patch Reviewer Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Patch Review **Files:** `fm2fb.c` =E2=80=94 1 replacement ```c strscpy(fb_fix.id, is_fm ? "FrameMaster II" : "Rainbow II"); ``` `"FrameMaster II"` is 14 chars + NUL =3D 15 bytes into `char id[16]`. Tight= but fits. `"Rainbow II"` is 11 bytes. Both safe. No issues. --- --- Generated by Claude Code Patch Reviewer