summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/tools/clang/lib/Frontend/LayoutOverrideSource.cpp
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>2016-02-19 14:01:35 +0000
committerse <se@FreeBSD.org>2016-02-19 14:01:35 +0000
commit73c7c751cd8eb41281c92805b26881cbeb69c607 (patch)
tree8895acf745257fbc49f37b35c6eceeedde010941 /contrib/llvm/tools/clang/lib/Frontend/LayoutOverrideSource.cpp
parent150af2e5cbe0eabb7467483c17efb5a832892fa0 (diff)
downloadFreeBSD-src-73c7c751cd8eb41281c92805b26881cbeb69c607.zip
FreeBSD-src-73c7c751cd8eb41281c92805b26881cbeb69c607.tar.gz
Fix possible out-of-bounds access detected by Ulrich Spörleins "scan-build".
Some invalid PCI device selectors could cause read access to an initialized variable next to the array (local loop index variable). While here, the parser has been made more strict with regard to the syntax of PCI device selectors as documented in the man-page. E.g. "pci:" used to be interpreted as "pci0:0". MFC after: 3 days
Diffstat (limited to 'contrib/llvm/tools/clang/lib/Frontend/LayoutOverrideSource.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud