diff options
author | J. Bruce Fields <[email protected]> | 2017-05-05 16:17:57 -0400 |
---|---|---|
committer | J. Bruce Fields <[email protected]> | 2017-05-10 14:25:19 -0400 |
commit | f961e3f2acae94b727380c0b74e2d3954d0edf79 (patch) | |
tree | de0fd2594a2efeaa34bdefff2880ef9824975cf3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b550a32e60a4941994b437a8d662432a486235a5 (diff) |
nfsd: encoders mustn't use unitialized values in error cases
In error cases, lgp->lg_layout_type may be out of bounds; so we
shouldn't be using it until after the check of nfserr.
This was seen to crash nfsd threads when the server receives a LAYOUTGET
request with a large layout type.
GETDEVICEINFO has the same problem.
Reported-by: Ari Kauppi <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Cc: [email protected]
Signed-off-by: J. Bruce Fields <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions