zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
To: zsh-workers@sunsite.dk
Cc: 251378@bugs.debian.org, 259768@bugs.debian.org,
	251378-submitter@bugs.debian.org,
	259768-submitter@bugs.debian.org, mdz@debian.org
Subject: Re: Bug#251378: zsh: segfaults when globing includes too many files
Date: Sat, 17 Jul 2004 20:06:49 +0100	[thread overview]
Message-ID: <20040717190650.1AF86865D@pwstephenson.fsnet.co.uk> (raw)
In-Reply-To: "Clint Adams"'s message of "Fri, 16 Jul 2004 15:46:10 EDT." <20040716194610.GA28706@scowler.net>

Clint Adams wrote:
> > Attached is a script from Peter Palfrader which seems to trigger the
> > same type of segfault in zhalloc().

Yep, does that for me too (no use of mremap), so this should be very
useful.

> This is HEAD with the mremap patch, which seems to be irrelevant.
> Should dyncat(s,"") just duplicate s, or should that be avoided earlier?
> 
> #0  0x0007cb78 in zhalloc (size=32) at /home/clint/tmp/zsh/Src/mem.c:353
> #1  0x000b2bd0 in dyncat (s1=0x10de88 ".Maillists.aaaa.2004.06/", s2=0x7001e1
> cc "")
>     at /home/clint/tmp/zsh/Src/string.c:100

That certainly shouldn't be a problem, as long as it's a valid pointer,
which it seems to be.

-- 
Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
Work: pws@csr.com
Web: http://www.pwstephenson.fsnet.co.uk


  reply	other threads:[~2004-07-17 19:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20040528125647.GA21000@scowler.net>
     [not found] ` <20040528131425.GC2289@via.ecp.fr>
     [not found]   ` <20040528135026.GA21637@scowler.net>
     [not found]     ` <20040528135729.GD2289@via.ecp.fr>
     [not found]       ` <20040528141431.GA30024@scowler.net>
     [not found]         ` <20040528142505.GE2289@via.ecp.fr>
     [not found]           ` <20040528174021.GA5975@scowler.net>
     [not found]             ` <20040528190653.GA2661@via.ecp.fr>
     [not found]               ` <20040706181235.GA32727@scowler.net>
     [not found]                 ` <20040706184752.GC1881@alcor.net>
2004-07-06 18:59                   ` Clint Adams
2004-07-06 19:22                     ` Clint Adams
2004-07-13 11:06                       ` Peter Stephenson
2004-07-16 17:56                         ` Clint Adams
2004-07-16 19:46                           ` Clint Adams
2004-07-17 19:06                             ` Peter Stephenson [this message]
2004-07-17 19:20                           ` PATCH: " Peter Stephenson
2004-07-07 11:01                     ` Peter Stephenson
2004-07-07 12:36                       ` Clint Adams

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=20040717190650.1AF86865D@pwstephenson.fsnet.co.uk \
    --to=pws@pwstephenson.fsnet.co.uk \
    --cc=251378-submitter@bugs.debian.org \
    --cc=251378@bugs.debian.org \
    --cc=259768-submitter@bugs.debian.org \
    --cc=259768@bugs.debian.org \
    --cc=mdz@debian.org \
    --cc=zsh-workers@sunsite.dk \
    /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).