ipfs/kubo

merkledag: CumulativeSize on directories overflows

Open

#3.440 geöffnet am 29. Nov. 2016

Auf GitHub ansehen
 (4 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Go (2.725 Forks)batch import
help wantedkind/bugstatus/deferred

Repository-Metriken

Stars
 (13.906 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 4T 2h) (28 gemergte PRs in 30 T)

Beschreibung

Version information: 0.4.5

Type: bug

Priority: P4

Description:

CumulativeSize of a directory (or file) can reach ~16 EB maximum, after which it wraps around to 0B. An example showing this overflow: QmW4Zd911qv7uaRM2vi79YsfHvZ93skxiCxLnwpgpf7hp3 The directory looks like 11GB, but contains a lot of 'large' folders (like a zip bomb) + a data folder (here, the npm repo) of 723 GB. Here's the folder bomb used.

Contributor Guide