Vulnerability Development mailing list archives
Re: problem with C and Gcc 2.95.3
From: Yuri Polyansky <tcp () pixy dgap mipt ru>
Date: Sat, 26 May 2001 10:37:39 +0300 (MSK )
Ale wrote [Fri, 25 May 2001]:
A>
A>I can't run this program:
A>
A>include <stdio.h>
A>main () {
A>char buff[10];
A>int i;
A> for (i=0;i<10;i++){
A> buff[i]='.';
A> }
A> for (i=0;1<10;i++){
A> printf("%d",buff[i]);
A> }
A>}
A>
patch:
- for (i=0;1<10;i++){
+ for (i=0;i<10;i++){
;-)
Cheers,
-up
Current thread:
- problem with C and Gcc 2.95.3 Ale (May 25)
- Re: problem with C and Gcc 2.95.3 Yuri Polyansky (May 26)
- Re: problem with C and Gcc 2.95.3 Doru Petrescu (May 26)
- Re: problem with C and Gcc 2.95.3 Blue Boar (May 26)
- Re: problem with C and Gcc 2.95.3 Jeroen Latour (May 26)
- Re: problem with C and Gcc 2.95.3 Riley Hassell (May 26)
- Re: problem with C and Gcc 2.95.3 Blue Boar (May 26)
