diff options
| author | Mikulas Patocka <mpatocka@redhat.com> | 2018-06-03 16:40:57 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-05 09:18:39 +0200 |
| commit | 7030b7046e187ce85e59cc61e10d6c18ecce7104 (patch) | |
| tree | 14ffb7c6baa3573265ef06d7d2b38239f3578be9 /net/unix/af_unix.c | |
| parent | 377d23bc9d8467cebe2b34902d9726c2683bb355 (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>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
