Mark Boldyrev [ARCHIVE] on Nostr: 📅 Original date posted:2017-05-19 📝 Original message:Back in 2010, there was a ...
📅 Original date posted:2017-05-19
📝 Original message:Back in 2010, there was a bug found in Core which allowed denial-of-service
attacks due to the software crashing on some machines while executing a
script - see CVE-2010-537.
I believe the removed ("disabled") opcodes should be re-introduced along
with a standardized behavior definition.
For example, when execution of an opcode results in an arithmetic error,
such as OP_DIV with a zero divisor, the script should exit and fail.
The string splice opcodes should also check their arguments for
correctness, etc.
These opcodes would enhance the flexibility of scripts and allow
sophisticated native smart contracts to be created.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20170519/6209b7a2/attachment.html>
Published at
2023-06-07 18:01:19Event JSON
{
"id": "c7c7f4064207220292afdfda77b723f28e568c9a10f25df6023c6b2896984453",
"pubkey": "ebcc502820a631304e8c3ef5b31ee988d13fc28825ee322221058544ee4c7b49",
"created_at": 1686160879,
"kind": 1,
"tags": [
[
"e",
"901f71bac2b83a1ec30c70f76e0ae545f7748b58fb4fe2aff16d89731dc43c96",
"",
"reply"
],
[
"p",
"a23dbf6c6cc83e14cc3df4e56cc71845f611908084cfe620e83e40c06ccdd3d0"
]
],
"content": "📅 Original date posted:2017-05-19\n📝 Original message:Back in 2010, there was a bug found in Core which allowed denial-of-service\nattacks due to the software crashing on some machines while executing a\nscript - see CVE-2010-537.\nI believe the removed (\"disabled\") opcodes should be re-introduced along\nwith a standardized behavior definition.\nFor example, when execution of an opcode results in an arithmetic error,\nsuch as OP_DIV with a zero divisor, the script should exit and fail.\nThe string splice opcodes should also check their arguments for\ncorrectness, etc.\n\nThese opcodes would enhance the flexibility of scripts and allow\nsophisticated native smart contracts to be created.\n-------------- next part --------------\nAn HTML attachment was scrubbed...\nURL: \u003chttp://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20170519/6209b7a2/attachment.html\u003e",
"sig": "174aef0d99fc954ec7eaa2f54963d60b4861149b7bb6c94bf2cf079972a523b33df5f233b98151f2e0994f7dfb5be21e2249c6a554e357c3be6d7245a429cb19"
}