btcs

bitcoin script parser/evaluator/compiler/decompiler
git clone git://jb55.com/btcs
Log | Files | Refs | README | LICENSE

commit 054cec5a909a08a4372490dec1f5565d485992aa
parent 86d8961ae206ed9e3085c7311e594ac235d188bd
Author: William Casarin <jb55@jb55.com>
Date:   Wed, 12 Jun 2019 17:00:10 -0700

fix crash

Diffstat:
Mval.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/val.c b/val.c @@ -112,6 +112,7 @@ val_copy(struct val a) { switch (a.type) { case VT_SMALLINT: return a; + case VT_RAW: case VT_DATA: src = byte_pool_get(a.ind, &len); dst = byte_pool_new(len, &newind);