-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mc_tmpdir() use a buffer on only 64 characters #3736
Comments
I think this method should rather dynamically allocate the required space, without introducing another (higher, but still) arbitrary limit. |
I updated the PR to use MAX_PATH which is much better than approach, at least it will bring this to the same value that is used in many other places in mc. |
Sounds great to me, thanks! |
|
|
Important
This issue was migrated from Trac:
sorin
(@ssbarnea)It seems that mc_tmpdir() is using a buffer that is far too small, causing problems on some operating systems like Mac OS.
One example http://dennis.dieploegers.de/using-mc-wrapper-sh-on-a-mac/
The buffer should be increased to at least 256 characters.
The text was updated successfully, but these errors were encountered: