n0-computer / n0-computer/sendme
sending an empty directory produces a BLAKE3 `hazmat` assertion failure
Open
@rklaehn is already working on this.
Since Apr 14, 2025.
- Dominant language
- Rust
- Stars
- 1.2k
- Forks
- 78
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.