summaryrefslogtreecommitdiff
path: root/include/linux/patchkey.h
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2015-04-01 11:13:03 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-04-03 11:07:33 +0200
commit005b23d6b6e7e798b6799bedffc60f33494058ea (patch)
treee69f0a21a62d74a1d0b155592b7255b3cdc31fa4 /include/linux/patchkey.h
parentfaec8ab42b4a0f119a1cfbceef0c14b7b61059cb (diff)
staging: lustre: prevent underflows in lnet_parse_reply()
I don't know if "hdr->payload_length;" can really be negative, but if so then we shouldn't allow it. Do the comparison as an unsigned. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/patchkey.h')
0 files changed, 0 insertions, 0 deletions