Hi Jerome, st 14. 1. 2026 v 16:12 odesÃlatel Andrew Goodbody <[email protected]> napsal: > > Fix some cases where the trailing \0 written by sprintf is not allowed > for in the target buffer resulting in writing past the end of the > buffer. > > Signed-off-by: Andrew Goodbody <[email protected]> > --- > Changes in v2: > - Address review comments from Michal Simek > - Add a second patch to address some more instances of sprintf writing > past the end of the target buffer found by code inspection while > looking for an issue. > - Link to v1: > https://lore.kernel.org/r/[email protected] > > --- > Andrew Goodbody (2): > net: lwip: tftp: Do not write past buffer end > net: lwip: dhcp: Do not write past end of buffer > > lib/lwip/lwip/src/apps/tftp/tftp.c | 2 +- > net/lwip/dhcp.c | 6 +++--- > net/lwip/net-lwip.c | 6 +++--- > 3 files changed, 7 insertions(+), 7 deletions(-) > --- > base-commit: c05dba22f1f2b0b2655ee3971644acf1936cd07a > change-id: 20260109-tftp_fix-3ab9bd66a6ad > > Best regards, > -- > Andrew Goodbody <[email protected]> >
Are you going to apply it? I would be good to get it in. Thanks, Michal -- Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Xilinx Microblaze Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs

