--- a/project_files/hwc/rtl/misc.c Tue Feb 11 01:19:44 2014 +0400
+++ b/project_files/hwc/rtl/misc.c Tue Feb 11 22:05:03 2014 +0400
@@ -205,7 +205,7 @@
if(s->len == MAX_ANSISTRING_LENGTH)
--s->len;
- s->s[s->len] = 0;
+ s->s[s->len + 1] = 0;
return &s->s[1];
}