Deutsch   English   Français   Italiano  
<20240624021400.75b0c38df5179dbb61b3d781@gmail.moc>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Anton Shepelev <anton.txt@gmail.moc>
Newsgroups: comp.lang.c
Subject: Re: Fixing a sample from K&R book using cake static analyser
Date: Mon, 24 Jun 2024 02:14:00 +0300
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <20240624021400.75b0c38df5179dbb61b3d781@gmail.moc>
References: <v53sl1$35qt7$1@dont-email.me>
	<v558hv$3dskb$1@dont-email.me>
	<20240623034624.135@kylheku.com>
	<87wmmfq4if.fsf@bsb.me.uk>
	<20240624012527.8bbe16b96f5bfca10feadb5c@gmail.moc>
	<v5a99v$i4c8$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 24 Jun 2024 01:14:00 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="c092b4272f57de9975d74d7342d26349";
	logging-data="595713"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX182/1jDWaNmrT8KMVX2tTBMmxAYlP9VE2w="
Cancel-Lock: sha1:1jF4aMQfQqbeeh3+iIFgU96Yo/M=
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
Bytes: 1599

Lawrence D'Oliveiro to Anton Shepelev:

> > the failure to keep np->defn unchaged if the allocation
> > of the new defn value failed.
>
> Not sure what the point is here.

The original funtion can replace the .defn member of an
existing node with NULL and terminate abnormally, corrupting
the data structure.

-- 
()  ascii ribbon campaign -- against html e-mail
/\  www.asciiribbon.org   -- against proprietary attachments