diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2018-06-03 17:40:57 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-05 10:20:09 +0300 |
commit | 268143ee0b8d71975bf16056579da57ee9e91be0 (patch) | |
tree | 021cd9be5d9470e1cf63aa6723812e1b78830be5 /sound/hda/local.h | |
parent | 73aa57ac7cc31b23e67d885015a61a247b3bc862 (diff) | |
download | linux-268143ee0b8d71975bf16056579da57ee9e91be0.tar.xz |
udl-kms: fix crash due to uninitialized memory
commit 09a00abe3a9941c2715ca83eb88172cd2f54d8fd upstream.
We must use kzalloc when allocating the fb_deferred_io structure.
Otherwise, the field first_io is undefined and it causes a crash.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/hda/local.h')
0 files changed, 0 insertions, 0 deletions