• T
    ALSA: rawmidi: Initialize allocated buffers · 5a7b44a8
    Takashi Iwai 提交于
    syzbot reported the uninitialized value exposure in certain situations
    using virmidi loop.  It's likely a very small race at writing and
    reading, and the influence is almost negligible.  But it's safer to
    paper over this just by replacing the existing kvmalloc() with
    kvzalloc().
    
    Reported-by: syzbot+194dffdb8b22fc5d207a@syzkaller.appspotmail.com
    Signed-off-by: NTakashi Iwai <tiwai@suse.de>
    5a7b44a8
rawmidi.c 49.1 KB