[GH-ISSUE #204] Core dump with -w <14 #93

Closed
opened 2026-06-08 11:25:38 +03:00 by zhus · 2 comments
Owner

Originally created by @LoipesMas on GitHub (Dec 31, 2021).
Original GitHub issue: https://github.com/bootandy/dust/issues/204

$ dust -w 0
memory allocation of 18446744073709551553 bytes failed
[1]    4118790 abort (core dumped)  dust -w 0

Probably because of underflow here.

Originally created by @LoipesMas on GitHub (Dec 31, 2021). Original GitHub issue: https://github.com/bootandy/dust/issues/204 ``` $ dust -w 0 memory allocation of 18446744073709551553 bytes failed [1] 4118790 abort (core dumped) dust -w 0 ``` Probably because of underflow [here](https://github.com/bootandy/dust/blob/6a34b52d154ff18d21f2ea17314ec6a79864d465/src/display.rs#L132).
zhus closed this issue 2026-06-08 11:25:38 +03:00
Author
Owner

@bootandy commented on GitHub (Jan 2, 2022):

good spot, I'll fix it.

<!-- gh-comment-id:1003694865 --> @bootandy commented on GitHub (Jan 2, 2022): good spot, I'll fix it.
Author
Owner

@bootandy commented on GitHub (Feb 26, 2022):

fixed in code, will be fixed on next release.

<!-- gh-comment-id:1051937593 --> @bootandy commented on GitHub (Feb 26, 2022): fixed in code, will be fixed on next release.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bootandy/archived-dust#93