Skip to content

Fix: Increase Stack size#236

Merged
bootandy merged 1 commit into
masterfrom
stack_size
Aug 15, 2022
Merged

Fix: Increase Stack size#236
bootandy merged 1 commit into
masterfrom
stack_size

Conversation

@bootandy
Copy link
Copy Markdown
Owner

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:
#197

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

This makes core-dumps less likely but will not completely remove the
risk

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

original issue:
#197
@bootandy bootandy merged commit b9386cd into master Aug 15, 2022
@bootandy bootandy deleted the stack_size branch August 23, 2022 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant