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

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


commit be1ad8f1dafbaed56d3315ffb6e882027ffd6f0b
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/be1ad8f1dafbaed56d3315ffb6e882027ffd6f0b


-- 
DragonFly BSD source repository


More information about the Commits mailing list