zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Zsh hackers list <zsh-workers@zsh.org>
Subject: Valgrind warning from vared -c
Date: Sat, 25 Feb 2023 14:31:43 -0800	[thread overview]
Message-ID: <CAH+w=7aF58LSfXLPAWORcD=hMsZ1aOhNbkYzHdbWEUXXJtCBVA@mail.gmail.com> (raw)

Doesn't happen on vared of an existing param, as far as I can tell.

==1443300== Conditional jump or move depends on uninitialised value(s)
==1443300==    at 0x2612D1: zleread (zle_main.c:1353)
==1443300==    by 0x263333: bin_vared (zle_main.c:1833)
==1443300==    by 0x12AB3C: execbuiltin (builtin.c:506)
==1443300==    by 0x155B3E: execcmd_exec (exec.c:4187)
==1443300==    by 0x14F2C6: execpline2 (exec.c:2003)
==1443300==    by 0x14DE4D: execpline (exec.c:1728)
==1443300==    by 0x14D0B7: execlist (exec.c:1482)
==1443300==    by 0x14C6E5: execode (exec.c:1263)
==1443300==    by 0x17419D: loop (init.c:212)
==1443300==    by 0x178D12: zsh_main (init.c:1810)
==1443300==    by 0x129BCC: main (main.c:93)


   1352
   1353     if (zleline && *zleline)
   1354         redrawhook();
   1355


             reply	other threads:[~2023-02-25 22:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-25 22:31 Bart Schaefer [this message]
2023-03-23  9:03 ` Jun T
2023-03-31  8:21   ` Jun T
2023-03-31 14:57     ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH+w=7aF58LSfXLPAWORcD=hMsZ1aOhNbkYzHdbWEUXXJtCBVA@mail.gmail.com' \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).