lnd.xprv/tlv
nsa dfd1b38648
tlv: fix panic with large length
This commit fixes a panic where a large length in a record could
cause the DVarBytes function to fail to allocate a byte slice.
2019-08-21 16:48:23 -07:00
..
bench_test.go tlv/bench_test: add basic benchmark 2019-08-07 15:04:20 -07:00
primitive_test.go tlv/primitive_test: add basic encode/decode tests for primitives 2019-08-08 15:57:48 -07:00
primitive.go tlv/primitive: use constructor for encoding/decoding type err 2019-08-08 15:57:48 -07:00
record.go tlv/record: adds various tlv record constructors 2019-08-07 15:03:43 -07:00
stream.go tlv: fix panic with large length 2019-08-21 16:48:23 -07:00
tlv_test.go tlv/tlv_test: add BOLT1 test vectors 2019-08-07 15:04:45 -07:00
truncated_test.go tlv/truncated: fix decoding bug in DTUint16 and DTUint32 2019-08-07 19:42:15 -07:00
truncated.go tlv/truncated: fix decoding bug in DTUint16 and DTUint32 2019-08-07 19:42:15 -07:00
varint_test.go tlv/varint_test: add tests vectors for custom Read/WriteVarInt 2019-08-07 15:03:18 -07:00
varint.go tlv/varint: add modified bitcoin varint 2019-08-07 15:03:05 -07:00