Index: branches/pap/ippTools/src/magictool.c
===================================================================
--- branches/pap/ippTools/src/magictool.c	(revision 28498)
+++ branches/pap/ippTools/src/magictool.c	(revision 28534)
@@ -1365,8 +1365,8 @@
     // check that state is a valid string value
     if (!(
-            (strncmp(state, "new", 4) == 0)
-            || (strncmp(state, "full", 5) == 0)
-            || (strncmp(state, "drop", 5) == 0)
-            || (strncmp(state, "reg", 4) == 0)
+            (strncmp(state, "new", 3) == 0)
+            || (strncmp(state, "full", 4) == 0)
+            || (strncmp(state, "drop", 4) == 0)
+            || (strncmp(state, "reg", 3) == 0)
         )
     ) {
