[all-commits] [llvm/llvm-project] 722487: [Bitcode] Check minimum size of constant GEP record
Nikita Popov via All-commits
all-commits at lists.llvm.org
Wed Feb 9 05:23:47 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 72248712e58b8825f2b0857bde4a811eb484ea82
https://github.com/llvm/llvm-project/commit/72248712e58b8825f2b0857bde4a811eb484ea82
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-02-09 (Wed, 09 Feb 2022)
Changed paths:
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
A llvm/test/Bitcode/Inputs/invalid-constant-gep.bc
M llvm/test/Bitcode/invalid.test
Log Message:
-----------
[Bitcode] Check minimum size of constant GEP record
Checking this early, because we may end up reading up to two
records before the operands.
Commit: ea93ca60efedb4419a123d328150334a566d167a
https://github.com/llvm/llvm-project/commit/ea93ca60efedb4419a123d328150334a566d167a
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-02-09 (Wed, 09 Feb 2022)
Changed paths:
M llvm/lib/Bitcode/Reader/MetadataLoader.cpp
A llvm/test/Bitcode/Inputs/invalid-diimportedentity-record.bc
M llvm/test/Bitcode/invalid.test
Log Message:
-----------
[Bitcode] Fix size check for DIImportedEntity record
This was using && instead of ||.
Compare: https://github.com/llvm/llvm-project/compare/73a961b9cca1...ea93ca60efed
More information about the All-commits
mailing list