git: DragonFly_RELEASE_5_8 kernel/efirt: Fix a kfree(NULL) panic when deleting a UEFI variable.

Sascha Wildner swildner at crater.dragonflybsd.org
Tue Jun 2 11:25:27 PDT 2020


commit 5d7744ca86d298dd587707e92c737c90a0ff4868
Author: Sascha Wildner <saw at online.de>
Date:   Tue Jun 2 20:24:30 2020 +0200

    kernel/efirt: Fix a kfree(NULL) panic when deleting a UEFI variable.
    
    There is no data in this case. Rest of function is ok, just a forgotten
    datasize check.

Summary of changes:
 sys/dev/misc/efirt/efidev.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5d7744ca86d298dd587707e92c737c90a0ff4868


-- 
DragonFly BSD source repository



More information about the Commits mailing list