Path: ...!news.mixmin.net!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: rbowman Newsgroups: comp.os.linux.misc Subject: Re: Joy of this, Joy of that Date: 27 Nov 2024 18:51:19 GMT Lines: 11 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net YSnsuRwUzq9sbiw0D98MFgnUVDQ5CZcg6V78MYBXjSQUlvlvbc Cancel-Lock: sha1:sLQZn78F4Fgx4R6i6InA52UwHHs= sha256:mPL0fJcJa88oIBRzhLLodPYl5NAnGrr7MEzDV62Y0I4= User-Agent: Pan/0.149 (Bellevue; 4c157ba) Bytes: 1616 On Wed, 27 Nov 2024 12:05:02 +0000, The Natural Philosopher wrote: > Or one that says 'look at our list of allocated block compare with the > pointer and if no match, segfault' https://elinux.org/Electric_Fence I often use efence as a quick check. valgrind is more comprehensive but when you run the programs with gdb any questionable access drops you into the debugger then and there.