diff options
| author | John L. Hammond <john.hammond@intel.com> | 2016-09-18 16:37:02 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-19 09:24:10 +0200 |
| commit | cde5f1097356568492257a550766e45264cfa923 (patch) | |
| tree | 952dcc7b23bba97f12664fd26e9837656fc4d119 /tools/perf/scripts/python | |
| parent | 2e0ca344931997954443dbda26cfb409e7cd1f08 (diff) | |
| download | linux-cde5f1097356568492257a550766e45264cfa923.tar.gz linux-cde5f1097356568492257a550766e45264cfa923.zip | |
staging: lustre: ldlm: fix a use after free in ldlm_resource_get()
If lvbo initialization has failed then save the return status (from
lr_lvb_len) before putting the resource.
Signed-off-by: John L. Hammond <john.hammond@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5305
Reviewed-on: http://review.whamcloud.com/11017
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Emoly Liu <emoly.liu@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
