Merge f5b6f621ff into merged_master (Bitcoin PR bitcoin/bitcoin#30024)

This commit is contained in:
ivanlele 2026-02-19 14:53:10 +00:00
commit b2b020c68c
No known key found for this signature in database
4 changed files with 4 additions and 4 deletions

View file

@ -5263,7 +5263,7 @@ void PeerManagerImpl::ProcessMessage(CNode& pfrom, const std::string& msg_type,
std::vector<unsigned char> vData;
vRecv >> vData;
// Nodes must NEVER send a data item > 520 bytes (the max size for a script data object,
// Nodes must NEVER send a data item > MAX_SCRIPT_ELEMENT_SIZE bytes (the max size for a script data object,
// and thus, the maximum size any matched object can have) in a filteradd message
bool bad = false;
if (vData.size() > MAX_SCRIPT_ELEMENT_SIZE) {