Skip to content

sending an empty directory produces a BLAKE3 hazmat assertion failure #87

@oconnor663

Description

@oconnor663

This is with sendme--version 0.25.0. In one terminal:

$ cd `mktemp -d`
$ sendme send .
...

In another:

$ sendme receive ...
getting collection 321465e756fab26fd96d9a252ca91111d9674e5cbb8756c79173c5cb3e5c9a0e 1 files, 1.52 MiB
[3/3] Downloading 3 blob(s)
⠁ [00:00:00] [-------------------------------------------------------------------------------------] 0 B/1.52 MiB 0 B/s                            
thread 'main' panicked at /home/jacko/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/blake3-1.8.1/src/hazmat.rs:237:9:
assertion `left != right` failed: empty subtrees are never valid
  left: 0
 right: 0

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions