The pointer argument Err from BigArchiveMemberHeader's constructor can
be null. This pointer was dereferenced without any null checks.
This patch adds a check to avoid a null dereference.
Differential D135449
[Object] Prevent null pointer dereference in BigArchiveMemberHeader ClosedPublic Authored by vhscampos on Oct 7 2022, 7:56 AM.
Details Summary The pointer argument Err from BigArchiveMemberHeader's constructor can This patch adds a check to avoid a null dereference.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Oct 25 2022, 7:53 AM Closed by commit rG56f967db51fb: [Object] Prevent null pointer dereference in BigArchiveMemberHeader (authored by vhscampos). · Explain WhyOct 28 2022, 5:15 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 466078 llvm/lib/Object/Archive.cpp
|
clang-format not found in user’s local PATH; not linting file.