-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
jq-win32.exe 1.5 crashes with 38+ chars filenames #1205
Comments
The crash also occurs for "long" input file paths. |
Here is the simple command to reproduce the issue:
The crash does not happen when I remove the last '1'. So the maximum allowed length for a file path is 37 chars. Really short, isn't it? |
Same thing seems to happen to 64 bit version, on Windows 7:
|
Seems to still be a problem on Win 64 (ver. 1.5). |
Yes, same here. |
Can you try |
Didn't try git master, pulled a build from here: This one actually works, no crash with really long filenames anymore.. |
I just installed jq today from Chocolatey and had this exact problem. Is the fix not yet published? It's been nearly a year since last activity on this issue. |
You can obtain a more recent Windows version (compiled) following the directions here: |
hi @dolmen
|
Looks like fixed in the master branch, closing the issue. |
With
jq-win32.exe
1.5 on Windows 10 64 bits, jq crashes when the path to a jq script given with the-f
option is at 62 characters or more (may be also if a bit less longer, I've not yet strictly tested the limit). If the path is somewhat shorter, everything is fine.Update: the practical limit is discovered: maximum 37 chars
The text was updated successfully, but these errors were encountered: