summaryrefslogtreecommitdiff
path: root/lib/Bitcode/Reader/BitcodeReader.h
diff options
context:
space:
mode:
authorKarthik Bhat <kv.bhat@samsung.com>2014-03-27 12:08:23 +0000
committerKarthik Bhat <kv.bhat@samsung.com>2014-03-27 12:08:23 +0000
commit6ac86cf119640b71328a3530f2906a86487696c9 (patch)
treeccb887442b20799b2f739a5a83d0cbd3be4972ca /lib/Bitcode/Reader/BitcodeReader.h
parent0d811741fbb559de49c984efa42642cf488bb379 (diff)
downloadllvm-6ac86cf119640b71328a3530f2906a86487696c9.tar.gz
llvm-6ac86cf119640b71328a3530f2906a86487696c9.tar.bz2
llvm-6ac86cf119640b71328a3530f2906a86487696c9.tar.xz
All new elements except the last one initialized to NULL. Ideally, once parsing is complete, all elements should be non-NULL.
To safe-guard BitcodeReader, this patch adds null check for all access to these list. Patch by Dinesh Dwivedi! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204920 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader/BitcodeReader.h')
0 files changed, 0 insertions, 0 deletions