diff options
| author | Colin Ian King <[email protected]> | 2016-05-05 22:39:33 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-05-09 03:32:59 +0000 |
| commit | 25a54342fde903b6abc2680594cf3e4864686339 (patch) | |
| tree | 89be78b0f2e402ca1932aac7155ecea580f4560b /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | qede: uninitialized variable in qede_start_xmit() (diff) | |
| download | kernel-25a54342fde903b6abc2680594cf3e4864686339.tar.gz kernel-25a54342fde903b6abc2680594cf3e4864686339.zip | |
tools: bpf_jit_disasm: check for klogctl failure
klogctl can fail and return -ve len, so check for this and
return NULL to avoid passing a (size_t)-1 to malloc.
Signed-off-by: Colin Ian King <[email protected]>
Acked-by: Daniel Borkmann <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
