summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2011-12-05 18:10:43 +0000
committeryongari <yongari@FreeBSD.org>2011-12-05 18:10:43 +0000
commitf47c7431dec003c1c26fce8811c39d1b1db72967 (patch)
treebab26854516bf71590ccefd7d0bc5ca8cb44152c /contrib/llvm/lib/CodeGen/CodeGen.cpp
parent7a41e563a7bad30403d1215e7ca77e39cc5bba64 (diff)
downloadFreeBSD-src-f47c7431dec003c1c26fce8811c39d1b1db72967.zip
FreeBSD-src-f47c7431dec003c1c26fce8811c39d1b1db72967.tar.gz
Fix off by one error in mbuf access. Previously it caused panic.
While I'm here use NULL to compare mbuf pointer and add additional check for zero length mbuf before accessing the mbuf. PR: kern/162932
Diffstat (limited to 'contrib/llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud