Re: [ng-spice] fix for segfaults


To ng-spice@ieee.ing.uniroma1.it
From Hugo van der Merwe <hugovdm@mail.com>
Date Thu, 27 Sep 2001 11:28:41 +0200
Delivered-To mailing list ng-spice@ieee.ing.uniroma1.it
In-Reply-To <PBEHIGMLDPFPLAANAKMPOEOICBAA.jon@beigebag.com >
Mailing-List contact ng-spice-help@ieee.ing.uniroma1.it; run by ezmlm
References <20010927004023.A31929@baboon.wilgenhof.sun.ac.za > <PBEHIGMLDPFPLAANAKMPOEOICBAA.jon@beigebag.com >
Reply-To ng-spice@ieee.ing.uniroma1.it
Sender Hugo van der Merwe <hugovdm@mail.com>
User-Agent Mutt/1.3.22i

On Wed, Sep 26, 2001 at 08:05:12PM -0400, Jon Engelbert wrote:
> Hugo,
> I reported a fix for this a couple of months ago... however, I'm running on
> Windows, not on Unix, so there may be other problems.  Please let me know if
> this fixes it for you.
> 
> ifnewuid.c:
>         if ( (newname = (char *) malloc(strlen((char *) olduid) +
> strlen(suffix) + 2)) == NULL)

Thanks, I tried it, but am still getting segfaults. If I have time, I
will investigate some more this weekend. (I didn't make clean before
rebuilding, for one, but didn't have time for a full rebuild.)

Hugo van der Merwe
-- 
To send me private (non-world-readable) mail, GPG encrypt it.
1024D/60715698: 5F2E 8EC2 E0A4 5D25 0569  F281 4A6C D76D 6071 5698

Partial thread listing: