Menu

#1408 plugin: ouf of bounds

Next_Nightly
applied
pecan
None
Bug_Report
2023-09-16
2023-09-15
No

src/plugins/contrib/clangd_client/src/codecompletion/parser/parser_base.h line 525
Code:
std::string GetSemanticTokenNameAt(size_t idx)
// ----------------------------------------------------------------------------
{
if (idx <= m_SemanticTokensVec.size()) // out of bounds - should be idx < ...
return std::get<sttokenname>(m_SemanticTokensVec[idx]);
return std::string();
}</sttokenname>

Discussion

  • pecan

    pecan - 2023-09-15

    Applied svn rev 13354
    Thanks Martin

     
  • pecan

    pecan - 2023-09-16
    • status: open --> applied
    • assigned_to: pecan
    • Milestone: Undefined --> Next_Nightly
     

Log in to post a comment.

MongoDB Logo MongoDB