Merge branch 'V5-6-patches' into V5-7-patches

* V5-6-patches:
  util_func: fix skipping of digits which would run one too far
diff --git a/agent/mibgroup/util_funcs.c b/agent/mibgroup/util_funcs.c
index 4c34c32..54068c6 100644
--- a/agent/mibgroup/util_funcs.c
+++ b/agent/mibgroup/util_funcs.c
@@ -778,7 +778,7 @@
          * so we need to use 'strtoul' rather than 'atoi'
          */
         oidout[i] = strtoul(buf, NULL, 10) & 0xffffffff;
-        while (isdigit((unsigned char)(*buf++)));
+        while (isdigit((unsigned char)(*buf))) buf++;
         if (*buf == '.')
             buf++;
     }