Date: Sat, 20 Aug 2016 16:23:57 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 211958] Boot overflows when reading loader.conf Message-ID: <bug-211958-8-HV7IzdviwE@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-211958-8@https.bugs.freebsd.org/bugzilla/> References: <bug-211958-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211958 --- Comment #1 from commit-hook@freebsd.org --- A commit references this bug: Author: tsoome Date: Sat Aug 20 16:23:20 UTC 2016 New revision: 304532 URL: https://svnweb.freebsd.org/changeset/base/304532 Log: loader is filling fixed length command_errbuf with sprintf() and is trust= ing strings provided by user/config files. This update is replacing sprintf w= ith snprintf for cases the command_errbuf is built from dynamic content. PR: 211958 Reported by: ecturt@gmail.com Reviewed by: imp, allanjude Approved by: imp (mentor), allanjude (mentor) Differential Revision: https://reviews.freebsd.org/D7563 Changes: head/sys/boot/common/boot.c head/sys/boot/common/bootstrap.h head/sys/boot/common/commands.c head/sys/boot/common/interp.c head/sys/boot/common/ls.c head/sys/boot/common/module.c head/sys/boot/efi/loader/arch/amd64/framebuffer.c head/sys/boot/fdt/fdt_loader_cmd.c --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-211958-8-HV7IzdviwE>