Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Buffer overflow in "!" handling?
- X-seq: zsh-workers 26603
- From: DragonK <dragonk@xxxxxxxxx>
- To: Peter Stephenson <pws@xxxxxxx>
- Subject: Re: Buffer overflow in "!" handling?
- Date: Wed, 25 Feb 2009 13:39:36 +0200
- Cc: zsh-workers@xxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=1Nqm0/PpPWWNVP6hpVDS9PjeVBkszxRLlsHvkkCt6/0=; b=XOvFiJdImmUyjiyn2QWX3U1MXvwVCnLrgAgjlFDfQBi1JW3bnyAX5lfjiIOCf6LsdJ 7dwsBLVN7mOfC5RHmPz+NbSfTWESVtV9TaAcq0e+uC5NB2kmJxN0eycUYmwSAQ/iZ4mA SLkbfEmcGWAyUi9l0MM+JU9zvQUX2hluw6TMg=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=pv8E1bwHuwNLJUM69TCych+4CHx2GzHgWoxteOjmq6+LG3col8eey3T28ON47Ughjx 3+WELWLmd+jq6NDWJidvszW290q0C/t+mf6oL1npFqNQW8A2YLsNBmgOdMhpndlop45T aWp0RDBcdamfGxOmhobbw/cHKuBkPqM+n76o0=
- In-reply-to: <20090225102603.089bc856@news01>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <8fa12ca90902250142s171605bekd87885e3dbc5c4a6@xxxxxxxxxxxxxx> <20090225102603.089bc856@news01>
>
> You're right, that's nasty. See if you can get it to happen with this...
>
I've applied the patch and it seems to work now; as far as I
understand from the comments in mem.c, memory allocated with zhalloc()
doesn't need to be explicitly free()d, right?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author