ipfs/kubo

merkledag: CumulativeSize on directories overflows

Open

#3,440 建立於 2016年11月29日

在 GitHub 查看
 (4 留言) (0 反應) (0 負責人)Go (13,906 star) (2,725 fork)batch import
help wantedkind/bugstatus/deferred

描述

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.

貢獻者指南

merkledag: CumulativeSize on directories overflows · ipfs/kubo#3440 | Good First Issue