ipfs/kubo

merkledag: CumulativeSize on directories overflows

Open

#3440 aperta il 29 nov 2016

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)Go (2725 fork)batch import
help wantedkind/bugstatus/deferred

Metriche repository

Star
 (13.906 star)
Metriche merge PR
 (Merge medio 4g 2h) (28 PR mergiate in 30 g)

Descrizione

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.

Guida contributor