Sujet : Re: Fixing a sample from K&R book using cake static analyser
De : anton.txt (at) *nospam* gmail.moc (Anton Shepelev)
Groupes : comp.lang.cDate : 24. Jun 2024, 00:14:00
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <20240624021400.75b0c38df5179dbb61b3d781@gmail.moc>
References : 1 2 3 4 5 6
User-Agent : Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
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