Re: [Lit.] Buffer overruns
From: BRG (brg_at_nowhere.org)
Date: 01/17/05
- Next message: Francois Grieu: "Re: increasing key-length of given crypto processor"
- Previous message: BRG: "Re: [Lit.] Buffer overruns"
- In reply to: infobahn: "Re: [Lit.] Buffer overruns"
- Next in thread: infobahn: "Re: [Lit.] Buffer overruns"
- Reply: infobahn: "Re: [Lit.] Buffer overruns"
- Reply: Douglas A. Gwyn: "Re: [Lit.] Buffer overruns"
- Reply: Douglas A. Gwyn: "Re: [Lit.] Buffer overruns"
- Reply: Douglas A. Gwyn: "Re: [Lit.] Buffer overruns"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 17 Jan 2005 07:58:03 +0000
infobahn wrote:
[snip]
> So in summary, I expect
>
> 100 4
> 4 4
> 100 4
>
> NOW I'll run it on my system...
>
> First, Borland:
>
> 100 100
> 4 4
> 100 100
[snip]
> This is not in line with my expectations. But all is not lost! Let's
> try gcc:
[snip]
> Here's the output:
>
> 100 4
> 4 4
> 100 4
>
> I conclude that Borland's compiler gives incorrect results! But
> gcc looks fine to me.
But is your conclusion correct? I have tried this with many compilers
and both results turn up frequently.
So we need Doug to tell us which is correct (maybe neither - is it
undefined behaviour?). Doug?
Brian Gladman
- Next message: Francois Grieu: "Re: increasing key-length of given crypto processor"
- Previous message: BRG: "Re: [Lit.] Buffer overruns"
- In reply to: infobahn: "Re: [Lit.] Buffer overruns"
- Next in thread: infobahn: "Re: [Lit.] Buffer overruns"
- Reply: infobahn: "Re: [Lit.] Buffer overruns"
- Reply: Douglas A. Gwyn: "Re: [Lit.] Buffer overruns"
- Reply: Douglas A. Gwyn: "Re: [Lit.] Buffer overruns"
- Reply: Douglas A. Gwyn: "Re: [Lit.] Buffer overruns"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|