commit | 268143ee0b8d71975bf16056579da57ee9e91be0 | [log] [tgz] |
---|---|---|
author | Mikulas Patocka <mpatocka@redhat.com> | Sun Jun 03 16:40:57 2018 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Sep 05 09:20:09 2018 +0200 |
tree | 021cd9be5d9470e1cf63aa6723812e1b78830be5 | |
parent | 73aa57ac7cc31b23e67d885015a61a247b3bc862 [diff] |
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>