git: boot: Use snprintf() when filling command_errbuf[] w/ dynamic content.

Sascha Wildner swildner at crater.dragonflybsd.org
Sat Nov 5 00:29:18 PDT 2016


commit 9613a5795c60b240e677765aef6a92a055efe921
Author: Sascha Wildner <saw at online.de>
Date:   Sat Nov 5 08:28:51 2016 +0100

    boot: Use snprintf() when filling command_errbuf[] w/ dynamic content.
    
    Taken-from: FreeBSD

Summary of changes:
 sys/boot/common/boot.c                        |  7 ++--
 sys/boot/common/bootstrap.h                   |  4 +-
 sys/boot/common/commands.c                    | 17 +++++---
 sys/boot/common/do_dloader.c                  |  3 +-
 sys/boot/common/ls.c                          | 13 +++---
 sys/boot/common/module.c                      | 57 ++++++++++++++++-----------
 sys/boot/efi/loader/arch/x86_64/framebuffer.c | 31 ++++++++-------
 7 files changed, 77 insertions(+), 55 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9613a5795c60b240e677765aef6a92a055efe921


-- 
DragonFly BSD source repository



More information about the Commits mailing list