[PATCH] D91299: [clangd] Also detect corrupt stri table size.

2020-11-19 Thread Sam McCall via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rGd7747dacba8e: [clangd] Also detect corrupt stri table size. (authored by sammccall). Changed prior to commit: https://reviews.llvm.org/D91299?vs=304641&id=306484#toc Repository: rG LLVM Github Monore

[PATCH] D91299: [clangd] Also detect corrupt stri table size.

2020-11-11 Thread Sam McCall via Phabricator via cfe-commits
sammccall added a comment. (going to wait for a while for the other patch to get through the buildbots, in case rlimit causes trouble) Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D91299/new/ https://reviews.llvm.org/D91299 __

[PATCH] D91299: [clangd] Also detect corrupt stri table size.

2020-11-11 Thread Kadir Cetinkaya via Phabricator via cfe-commits
kadircet accepted this revision. kadircet added inline comments. This revision is now accepted and ready to land. Comment at: clang-tools-extra/clangd/index/Serialization.cpp:209 +// Theoretical max ratio from https://zlib.net/zlib_tech.html +constexpr int MaxCompressionR

[PATCH] D91299: [clangd] Also detect corrupt stri table size.

2020-11-11 Thread Sam McCall via Phabricator via cfe-commits
sammccall created this revision. sammccall added a reviewer: kadircet. Herald added subscribers: cfe-commits, usaxena95, arphaman. Herald added a project: clang. sammccall requested review of this revision. Herald added subscribers: MaskRay, ilya-biryukov. Repository: rG LLVM Github Monorepo ht