diff options
| author | Mikael Magnusson <mikachu@gmail.com> | 2026-05-06 07:40:58 +0200 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@gmail.com> | 2026-05-11 21:31:08 +0200 |
| commit | 74e6bc1905beb7124ab6a681762c2aa6ea20ce6e (patch) | |
| tree | 61c36258c07241c918a43f16cf4209cb230b3fb6 /Completion/Unix/Command/_pkg_instance | |
| parent | 54480: Wrong memcmp variant used in getvirange() (diff) | |
| download | zsh-74e6bc1905beb7124ab6a681762c2aa6ea20ce6e.tar zsh-74e6bc1905beb7124ab6a681762c2aa6ea20ce6e.tar.gz zsh-74e6bc1905beb7124ab6a681762c2aa6ea20ce6e.tar.bz2 zsh-74e6bc1905beb7124ab6a681762c2aa6ea20ce6e.tar.lz zsh-74e6bc1905beb7124ab6a681762c2aa6ea20ce6e.tar.xz zsh-74e6bc1905beb7124ab6a681762c2aa6ea20ce6e.tar.zst zsh-74e6bc1905beb7124ab6a681762c2aa6ea20ce6e.zip | |
54483: Make sure zleline is null-terminated
One of these, not sure which, triggered a warning from valgrind:
==31255== Conditional jump or move depends on uninitialised value(s)
==31255== at 0x617D854: doinsert (zle_misc.c:51)
==31255== by 0x617DA8D: selfinsert (zle_misc.c:124)
==31255== by 0x617A51E: execzlefunc (zle_main.c:1492)
==31255== by 0x6179357: zlecore (zle_main.c:1152)
==31255== by 0x6179DFB: zleread (zle_main.c:1367)
==31255== by 0x617D05A: zle_main_entry (zle_main.c:2148)
==31255== by 0x45CD6B: zleentry (init.c:1779)
==31255== by 0x45E0B0: inputline (input.c:421)
==31255== by 0x45DEFE: ingetc (input.c:354)
==31255== by 0x44FD6C: ihgetc (hist.c:420)
==31255== by 0x46889F: gettok (lex.c:622)
==31255== by 0x467F2E: zshlex (lex.c:275)
That code just does an innocuous zleline[zlecs] access, which many other
places also do.
Diffstat (limited to 'Completion/Unix/Command/_pkg_instance')
0 files changed, 0 insertions, 0 deletions
