zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Varun Gandhi <varun@cutcul.us>
Cc: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: Memory error on exporting XPC_SERVICE_NAME from a subshell
Date: Tue, 19 Jul 2022 17:11:52 -0700	[thread overview]
Message-ID: <CAH+w=7YUxvT0w3oETEFc-PHqZ+=qRbW=KX2sqOWzi9S3y1Ra8Q@mail.gmail.com> (raw)
In-Reply-To: <a6645184-edc4-454c-9302-2784ada23f6b@www.fastmail.com>

On Mon, Jul 18, 2022 at 11:46 AM Varun Gandhi <varun@cutcul.us> wrote:
>
> While bisecting my shell configuration for an unrelated issue, I ran into what looks like a use-after-free on exporting XPC_SERVICE_NAME from a subshell.

This is an error in a MacOS library routine.  Previously seen in zsh
with constructs like
% XPC_SERVICE_NAME=0 somecommand

However, if you're able to reproduce it with "env -i
-S'XPC_SERVICE_NAME=0'" then it's not limited to the zsh internals and
should probably be reported to Apple as well.


  reply	other threads:[~2022-07-20  0:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-18 18:45 Varun Gandhi
2022-07-20  0:11 ` Bart Schaefer [this message]
2022-07-21  9:40   ` Jun T
2022-07-21 21:11     ` 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=7YUxvT0w3oETEFc-PHqZ+=qRbW=KX2sqOWzi9S3y1Ra8Q@mail.gmail.com' \
    --to=schaefer@brasslantern.com \
    --cc=varun@cutcul.us \
    --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).