[Bug 211958] Boot overflows when reading loader.conf

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Aug 18 07:56:56 UTC 2016


            Bug ID: 211958
           Summary: Boot overflows when reading loader.conf
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: ecturt at gmail.com

There are some overflows when reading loader.conf, for example if you add a
line like:

autoboot aaaaaaaaa...

It will overflow a 256 byte buffer here:



This sprintf pattern into command_errbuf seems to be repeated a lot, and should
probably be replaced with slprintf.

You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-bugs mailing list