From 589f250420537c3e7a59d0958faafe752469199d Mon Sep 17 00:00:00 2001 From: pfaure Date: Wed, 23 Jun 2021 18:08:29 +0200 Subject: [PATCH] =?UTF-8?q?Processeur=20s=C3=A9curis=C3=A9=20termin=C3=A9,?= =?UTF-8?q?=20fichier=20vuln=C3=A9rable=20test=201?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- prog.c | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 prog.c diff --git a/prog.c b/prog.c deleted file mode 100644 index 1f46285..0000000 --- a/prog.c +++ /dev/null @@ -1,18 +0,0 @@ -int max(int * tab, int size) { - int i = 0; - int max = 0; - while (i max) { - max = tab[i]; - } - i = i+1; - } - return max; -} - -int main() { - int tab[10] = {1,2,3,4,5,6,7,8,9,0}; - printf(max(tab, 10)); -}