aboutsummaryrefslogtreecommitdiff
path: root/src/serialize.h
diff options
context:
space:
mode:
authorMark Friedenbach <mark@monetize.io>2012-09-25 16:40:34 -0700
committerMark Friedenbach <mark@monetize.io>2012-09-25 16:40:34 -0700
commit95d7f002957a7bb30a2d5d8b07fe8fe3c1f37ec0 (patch)
treea2e8b9e591328ef2ee6db6d2eaa8c26d96bca53b /src/serialize.h
parent1381ad2b21733071acb2a43c251dbecef524f110 (diff)
Documented bug in sign-extension behavior of opcodes OP_AND, OP_OR, and OP_XOR.
Due to a bug in the implementation of MakeSameSize(), using OP_AND, OP_OR, or OP_XOR with signed values of unequal size will result in the sign-value becoming part of the smaller integer, with nonsensical results. This patch documents the unexpected behavior and provides the basis of a solution should decision be made to fix the bug in the future.
Diffstat (limited to 'src/serialize.h')
0 files changed, 0 insertions, 0 deletions