From 4674c4aab2531f1c7e171bb46597e1d662ac95a7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ale=C5=A1=20K=C5=99enek?= Date: Mon, 28 Nov 2005 17:37:52 +0000 Subject: [PATCH] initialise len and code when reading protocol error -- garbage resitance --- org.glite.lb.client/src/connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.glite.lb.client/src/connection.c b/org.glite.lb.client/src/connection.c index 33fdf78..bbd03ee 100644 --- a/org.glite.lb.client/src/connection.c +++ b/org.glite.lb.client/src/connection.c @@ -253,7 +253,7 @@ int http_check_status( char *response) { - int code,len; + int code = HTTP_INTERNAL,len = 0; edg_wll_ResetError(ctx); sscanf(response,"HTTP/%*f %n%d",&len,&code); -- 1.8.2.3