[PR #236] [MERGED] Fix: Increase Stack size #368

Closed
opened 2026-06-08 11:27:35 +03:00 by zhus · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/bootandy/dust/pull/236
Author: @bootandy
Created: 8/15/2022
Status: Merged
Merged: 8/15/2022
Merged by: @bootandy

Base: masterHead: stack_size


📝 Commits (1)

📊 Changes

1 file changed (+5 additions, -0 deletions)

View changed files

📝 src/main.rs (+5 -0)

📄 Description

Low stack size could result in a stack overflow exception if traversing
very highly nested directories.

This increases stack size, it makes stack overflows less likely to happen but no guarantees.

example for creating directories:
mkdir -p $(for i in {1..5000}; do echo -n "qwe/"; done)

original issue:
https://github.com/bootandy/dust/issues/197


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/bootandy/dust/pull/236 **Author:** [@bootandy](https://github.com/bootandy) **Created:** 8/15/2022 **Status:** ✅ Merged **Merged:** 8/15/2022 **Merged by:** [@bootandy](https://github.com/bootandy) **Base:** `master` ← **Head:** `stack_size` --- ### 📝 Commits (1) - [`b18b117`](https://github.com/bootandy/dust/commit/b18b11742cad420125ac3d67aad262ba9ffaaefd) Fix: Increase Stack size ### 📊 Changes **1 file changed** (+5 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/main.rs` (+5 -0) </details> ### 📄 Description Low stack size could result in a stack overflow exception if traversing very highly nested directories. This increases stack size, it makes stack overflows less likely to happen but no guarantees. example for creating directories: mkdir -p $(for i in {1..5000}; do echo -n "qwe/"; done) original issue: https://github.com/bootandy/dust/issues/197 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
zhus added the pull-request label 2026-06-08 11:27:35 +03:00
zhus closed this issue 2026-06-08 11:27:36 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bootandy/archived-dust#368