[Bug 204602] parse() in boot loader interp_parse.c is too naive about quotes

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Feb 8 02:45:31 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204602

--- Comment #2 from commit-hook at freebsd.org ---
A commit references this bug:

Author: kevans
Date: Thu Feb  8 02:44:25 UTC 2018
New revision: 329010
URL: https://svnweb.freebsd.org/changeset/base/329010

Log:
  MFC r303555,r303556,r303936,r303962,r304317,r304532,r305026,r305107,r305132,
  r305178,r305353,r305814,r306159,r306380,r306504: Loader fixes, 2016q3

  r303555: bcache should support reads shorter than sector size

  r303556: Improve boot loader quote parsing

  r303936: Add kernel environment variables under smbios.system

  r303962: Add the missing space between .asciz directive and opening quote
  for some lines with #ifdef BTXLDR_VERBOSE/#endif

  r304317: boot1.efi Free() should check for NULL to provide consistent
  behavior

  r304532: Replace sprintf -> snprintf for command_errbuf provisioned from
  dynamic content.

  r305026: Emulate efi_cons_poll when WaitForKey is not available

  r305107: Create a hook 'post-initialize' for people that want to define
  something to read in .conf files after all other .conf files for the purpose
  of overriding.

  r305132: Remove accidentally committed stray comment.

  r305178: bd_int13probe() should check extended info if sector info is bad

  r305353: Don't use -N to set the OMAGIC with data and text writeable and
  data not page aligned.

  r305814: ufsread: Do not cast struct direct from void *

  r306159: Consistently declare getsecs(void) with proper return type and void
  when no arguments are present.

  r306380: loader command interpreter should reset command_errmsg

  r306504: Fix a cluster of bugs in list EFI environment variables

  PR:             204602, 211958, 211958
  Relnotes:       yes ("Improve boot loader quote parsing")

Changes:
_U  stable/11/
  stable/11/sys/boot/common/bcache.c
  stable/11/sys/boot/common/boot.c
  stable/11/sys/boot/common/bootstrap.h
  stable/11/sys/boot/common/commands.c
  stable/11/sys/boot/common/interp.c
  stable/11/sys/boot/common/interp_forth.c
  stable/11/sys/boot/common/interp_parse.c
  stable/11/sys/boot/common/ls.c
  stable/11/sys/boot/common/module.c
  stable/11/sys/boot/common/ufsread.c
  stable/11/sys/boot/efi/boot1/boot1.c
  stable/11/sys/boot/efi/libefi/efi_console.c
  stable/11/sys/boot/efi/libefi/time.c
  stable/11/sys/boot/efi/libefi/time_event.c
  stable/11/sys/boot/efi/loader/arch/amd64/framebuffer.c
  stable/11/sys/boot/efi/loader/main.c
  stable/11/sys/boot/fdt/fdt_loader_cmd.c
  stable/11/sys/boot/forth/loader.4th
  stable/11/sys/boot/i386/Makefile.inc
  stable/11/sys/boot/i386/boot.ldscript
  stable/11/sys/boot/i386/boot0/Makefile
  stable/11/sys/boot/i386/boot2/Makefile
  stable/11/sys/boot/i386/btx/btx/Makefile
  stable/11/sys/boot/i386/btx/btxldr/Makefile
  stable/11/sys/boot/i386/btx/btxldr/btxldr.S
  stable/11/sys/boot/i386/cdboot/Makefile
  stable/11/sys/boot/i386/gptboot/Makefile
  stable/11/sys/boot/i386/gptzfsboot/Makefile
  stable/11/sys/boot/i386/libi386/biosdisk.c
  stable/11/sys/boot/i386/libi386/pxe.c
  stable/11/sys/boot/i386/libi386/smbios.c
  stable/11/sys/boot/i386/mbr/Makefile
  stable/11/sys/boot/i386/pmbr/Makefile
  stable/11/sys/boot/i386/pxeldr/Makefile
  stable/11/sys/boot/i386/zfsboot/Makefile
  stable/11/sys/boot/ofw/libofw/ofw_time.c
  stable/11/sys/boot/pc98/Makefile.inc
  stable/11/sys/boot/pc98/boot0/Makefile
  stable/11/sys/boot/pc98/boot2/Makefile
  stable/11/sys/boot/pc98/btx/btx/Makefile
  stable/11/sys/boot/pc98/btx/btxldr/Makefile
  stable/11/sys/boot/pc98/cdboot/Makefile
  stable/11/sys/boot/powerpc/kboot/main.c
  stable/11/sys/boot/powerpc/ps3/main.c
  stable/11/sys/boot/uboot/lib/time.c

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


More information about the freebsd-bugs mailing list