diff options
| author | Mikael Magnusson <mikachu@gmail.com> | 2026-05-07 05:26:22 +0200 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@gmail.com> | 2026-05-11 21:31:26 +0200 |
| commit | 785e64d90645a6241f71979105cd3c30d4b70fba (patch) | |
| tree | 762c2e9f4679a235835fef5b56e0c6fd53db6313 /Completion/Unix/Command/_diff | |
| parent | 54481: Move variable into scope where it's used (diff) | |
| download | zsh-785e64d90645a6241f71979105cd3c30d4b70fba.tar zsh-785e64d90645a6241f71979105cd3c30d4b70fba.tar.gz zsh-785e64d90645a6241f71979105cd3c30d4b70fba.tar.bz2 zsh-785e64d90645a6241f71979105cd3c30d4b70fba.tar.lz zsh-785e64d90645a6241f71979105cd3c30d4b70fba.tar.xz zsh-785e64d90645a6241f71979105cd3c30d4b70fba.tar.zst zsh-785e64d90645a6241f71979105cd3c30d4b70fba.zip | |
54490: Fix buffer overflow and wrong behavior in url_encode
For non-ascii bytes, we passed negative values around,
resulting in:
write(10, "/code/zsh/%FFFFFFC3%FFFFFFA5", 54) = 54
With the change, we get the more reasonable:
write(10, "/code/zsh/%C3%A5", 42) = 42
Diffstat (limited to 'Completion/Unix/Command/_diff')
0 files changed, 0 insertions, 0 deletions
