Deutsch   English   Français   Italiano  
<102pi6b$1okp2$1@dont-email.me>

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

Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Richard Heathfield <rjh@cpax.org.uk>
Newsgroups: comp.lang.c
Subject: Re: Memory protection between compilation units?
Date: Mon, 16 Jun 2025 17:53:31 +0100
Organization: Fix this later
Lines: 21
Message-ID: <102pi6b$1okp2$1@dont-email.me>
References: <20250611153239.6bc43323@mateusz>
 <matgqhF5m41U1@mid.individual.net> <bsg2Q.254701$S_65.88144@fx48.iad>
 <102f5fu$2r0js$1@dont-email.me> <9fg05k1okekamj6n4crtpdmjgmh7mn1qp5@4ax.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 16 Jun 2025 18:53:32 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="212f4b5d67515e022b6ed5035e0c17bf";
	logging-data="1856290"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18yQBmNBNBZdLJAgs7mCExYd+U9rfbWuSFtGma31GdDLQ=="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:mWSLVPGHY2I6cHQJMv36cgiwQ7I=
Content-Language: en-GB
In-Reply-To: <9fg05k1okekamj6n4crtpdmjgmh7mn1qp5@4ax.com>

On 16/06/2025 17:14, Rosario19 wrote:
> On Thu, 12 Jun 2025 19:15:26 +0100, Richard Heathfield wrote:
> 
>> Sure. Or some people prefer to single-step with a debugger. Such
>> people can make their lives a little easier by surrounding the
>> buffer with sentinel soldiers, setting the sentinel soldiers to a
>> magic number, and putting a watch on them both - the buffer high
>> soldier and the buffer low soldier.
> 
> I think out of bound of the array many times there is a write of the 2
> limit bounds memory... but there are cases where bound are ok but
> memory is written out the array the same, in some other places

<whoosh>

-- 
Richard Heathfield
Email: rjh at cpax dot org dot uk
"Usenet is a strange place" - dmr 29 July 1999
Sig line 4 vacant - apply within