mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-09 01:40:27 +02:00
script: don't read past the end
This commit is contained in:
@ -839,6 +839,7 @@ public:
|
||||
itBegin = it;
|
||||
}
|
||||
}
|
||||
if (itBegin != scriptCode.end())
|
||||
s.write((char*)&itBegin[0], it-itBegin);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user