-
Notifications
You must be signed in to change notification settings - Fork 4
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
Buffer overflow in vfs_parse_ls_lga #4642
Comments
|
|
Branch: 4642_fix_overflow
Caused by int -> size_t conversion and --p2 > 0 expression. I don't remove consecutive \n\n, \r\r and \n\r, only \n, \r and \r\n. My understanding is that this is the desired behavior.
Please ignore the formatting, I will rebase after #4592. |
Some suggestions
|
Rebased on current master: [ac9a81d]
str_rstrip_eol like Python's rstrip ?
done
done |
|
|
Important
This issue was migrated from Trac:
zaytsev
(@zyv)Found in Alpine/musl on s390x, confirmed on aarch64 using valgrind - introduced in [65a7278]:
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/79071
The text was updated successfully, but these errors were encountered: