git: DragonFly_RELEASE_5_6 u4b/audio: Fix panic by kfree(NULL)

Aaron LI aly at crater.dragonflybsd.org
Fri Jun 14 22:27:29 PDT 2019


commit 75f419da903baa229834f160bd122173534d199e
Author: Aaron LI <aly at aaronly.me>
Date:   Sat Jun 15 13:18:36 2019 +0800

    u4b/audio: Fix panic by kfree(NULL)
    
    DragonFly's kfree(9) doesn't allow a NULL pointer, while FreeBSD's
    free(9) allows.
    
    Reported-by: tse
    Bug-report: #3192

Summary of changes:
 sys/bus/u4b/audio/uaudio.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/75f419da903baa229834f160bd122173534d199e


-- 
DragonFly BSD source repository



More information about the Commits mailing list