aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <garsilva@embeddedor.com>2017-11-14 14:26:16 -0600
committerDavid S. Miller <davem@davemloft.net>2017-11-15 14:16:07 +0900
commitb74912a2fdae9aadd20da502644aa8848c861954 (patch)
tree140da6bfc4a9c7a811e20ece6f08131cc04c92c9 /net/lapb/lapb_iface.c
parentMerge branch 'netem-fix-compilation-on-32-bit' (diff)
downloadlinux-b74912a2fdae9aadd20da502644aa8848c861954.tar.gz
linux-b74912a2fdae9aadd20da502644aa8848c861954.zip
openvswitch: meter: fix NULL pointer dereference in ovs_meter_cmd_reply_start
It seems that the intention of the code is to null check the value returned by function genlmsg_put. But the current code is null checking the address of the pointer that holds the value returned by genlmsg_put. Fix this by properly null checking the value returned by function genlmsg_put in order to avoid a pontential null pointer dereference. Addresses-Coverity-ID: 1461561 ("Dereference before null check") Addresses-Coverity-ID: 1461562 ("Dereference null return value") Fixes: 96fbc13d7e77 ("openvswitch: Add meter infrastructure") Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions
Update draft release notes to 1.7.7Junio C Hamano1-15/+9 2011-08-23Update draft release notes for 1.7.6.1Junio C Hamano1-0/+11 2011-08-23fast-import: allow to tag newly created objectsDmitry Ivankov2-3/+33 2011-08-23fast-import: add tests for tagging blobsDmitry Ivankov2-7/+44 2011-08-23clone: clone from a repository with relative alternatesJunio C Hamano3-25/+78 2011-08-22git-p4: Add simple test case for branch importVitor Antunes1-0/+64 2011-08-22git-p4: Allow branch definition with git configVitor Antunes2-0/+31 2011-08-22git-p4: Allow filtering Perforce branches by userVitor Antunes2-1/+13 2011-08-22git-p4: Correct branch base depot path detectionVitor Antunes1-3/+5 2011-08-22clone: allow more than one --referenceJunio C Hamano2-8/+39 2011-08-22Show interpreted branch name in error messagesConrad Irwin2-1/+10 2011-08-22Prevent force-updating of the current branchConrad Irwin6-24/+56