From: František Dvořák Date: Fri, 10 Apr 2009 17:06:45 +0000 (+0000) Subject: Fixed access one byte before memory buffer. X-Git-Tag: glite-lbjp-common-db_R_1_0_0_7~27 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=088e282302e3793bcea132d3a503c85e4cf106cd;p=jra1mw.git Fixed access one byte before memory buffer. --- diff --git a/org.glite.lb.common/src/ulm_parse.c b/org.glite.lb.common/src/ulm_parse.c index a28e14f..53c872d 100644 --- a/org.glite.lb.common/src/ulm_parse.c +++ b/org.glite.lb.common/src/ulm_parse.c @@ -193,7 +193,7 @@ int edg_wll_ULMProcessParseTable(p_edg_wll_ULMFields this) } break; default : - if (this->raw[i-1] == ULM_BS) bsCnt = 0; // escaped character inside value + if (i && this->raw[i-1] == ULM_BS) bsCnt = 0; // escaped character inside value break; } /* switch */ } /* for */