diff options
author | 2017-04-23 14:49:41 +0800 | |
---|---|---|
committer | 2017-04-28 13:06:59 -0400 | |
commit | 4edabfd7d0f7d39eeda8ffac76d9e884c22951d9 (patch) | |
tree | df89653068ba714a55f6e4429dc7269e1588a9d6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | nfs/filelayout: fix NULL pointer dereference in fl_pnfs_update_layout() (diff) | |
download | linux-rng-4edabfd7d0f7d39eeda8ffac76d9e884c22951d9.tar.xz linux-rng-4edabfd7d0f7d39eeda8ffac76d9e884c22951d9.zip |
NFSv4: check return value of xdr_inline_decode
Function xdr_inline_decode() will return a NULL pointer if the input
buffer does not have long enough buffer to decode nbytes of data.
However, in function decode_op_map(), the return value of
xdr_inline_decode() is not validated before it is used. This patch adds
a check to the return value of xdr_inline_decode().
Signed-off-by: Pan Bian <bianpan2016@163.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions