rem: for(n = 0; n < parser->buffer_current_rep; n++) {
add: for(n = 0; n < parser->buffer_current_rep && n < parser->msgsize_rep; n++) {
context: void eci_impl_set_last_los_value(struct eci_parser* parser){  struct eci_los_list** i = &parser->last_los_repp;  int quoteflag = 0, m = 0, n;  char* stmp = malloc(ECI_MAX_STRING_SIZE);  assert(parser != 0);  assert(parser->state_rep == ECI_STATE_COMMON_LF_3);  ECI_DEBUG_1("(ecasoundc_sa) parsing a list '%s'\n", parser->buffer_repp);  eci_impl_los_list_clear(i);  for(n = 0; n < parser->buffer_current_rep; n++) {    char c = parser->buffer_repp[n];    if (c == '\"') {      quoteflag = !quoteflag;    }    else if (c == '\\') {      n++;      c = parser->buffer_repp[n];      stmp[m++] = c;    }    else if (c != ',' || quoteflag == 1) {      stmp[m++] = c;    }    else {      if (m == 0) continue;      eci_impl_los_list_add_item(i, stmp, m);      m = 0;    }  }  if (m > 0) {    eci_impl_los_list_add_item(i, stmp, m);  }  /* delete tmp char-buffer */  free(stmp);}