- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Incorrect lock files check when hostname contains wide characters #1935
Comments
Why wouldn't you provide a patch? |
Replying to q0tw4 (#1935):
Yes, I agree. Also some optimization is required: no need to calculate string length twice. |
Created 1935_edit_lock_fix branch. Parent branch is master. |
|
running through testfarm, voting if it passed. |
|
|
Important
This issue was migrated from Trac:
q0tw4
Function lock_extract_info in file editlock.c uses number of unicode characters as number of bytes in string. I suggest to replace str_term_width1 at lines number 125 and 138 by strlen.
The text was updated successfully, but these errors were encountered: