Fixed access one byte before memory buffer.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Fri, 10 Apr 2009 17:06:45 +0000 (17:06 +0000)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Fri, 10 Apr 2009 17:06:45 +0000 (17:06 +0000)
org.glite.lb.common/src/ulm_parse.c

index a28e14f..53c872d 100644 (file)
@@ -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 */