[Bitcode] Prevent OOB read for invalid name size
authorNikita Popov <npopov@redhat.com>
Tue, 8 Feb 2022 08:48:43 +0000 (09:48 +0100)
committerNikita Popov <npopov@redhat.com>
Tue, 8 Feb 2022 08:49:39 +0000 (09:49 +0100)
commit6d52ea885fb2d2c79fb1fa8062a92ab6c5adc734
tree5b054e5ee8f07c1e2e8ca682d2d5414aa920224b
parent67348c8acfc205785996f2aea21b442f4b76f2c2
[Bitcode] Prevent OOB read for invalid name size
llvm/lib/Bitcode/Reader/BitcodeReader.cpp
llvm/test/Bitcode/Inputs/comdat-name-too-large.bc [new file with mode: 0644]
llvm/test/Bitcode/invalid.test