]> andersk Git - splint.git/blobdiff - test/maxset.expect
Fixes for win32
[splint.git] / test / maxset.expect
index 9e473f1102a254212fdbe66d80e67673058dc0e1..6a34ab0d7a6eab3950ca2cde0269387e4fb0f5ec 100644 (file)
@@ -1,15 +1,16 @@
 
-Finished LCLint checking --- no code errors found
+Finished checking --- no warnings
 
 maxsetnoannotations.c: (in function noancopy)
-maxsetnoannotations.c:4:1: Possible out-of-bounds store.  Unable to resolve
-    constraint:
-    requires: : maxSet ((a @ maxsetnoannotations.c:4:9 ) )  >=  maxRead ((b @
-    maxsetnoannotations.c:4:11 ) )
+maxsetnoannotations.c:2:3: Possible out-of-bounds store:
+    strcpy(a, b)
+    Unable to resolve constraint:
+    requires maxSet(a @ maxsetnoannotations.c:2:11) >= maxRead(b @
+    maxsetnoannotations.c:2:13)
      needed to satisfy precondition:
-    requires: : maxSet ((a @ maxsetnoannotations.c:4:9 ) )  >=  maxRead ((b @
-    maxsetnoannotations.c:4:11 ) )
-     derived from strcpy precondition: requires: :
-    maxSet ((<parameter 1> ) )  >=  maxRead ((<parameter 2> ) )
+    requires maxSet(a @ maxsetnoannotations.c:2:11) >= maxRead(b @
+    maxsetnoannotations.c:2:13)
+     derived from strcpy precondition: requires maxSet(<parameter 1>) >=
+    maxRead(<parameter 2>)
 
-Finished LCLint checking --- 1 code error found
+Finished checking --- 1 code warning, as expected
This page took 0.03286 seconds and 4 git commands to generate.