]> andersk Git - splint.git/blobdiff - test/moreBufferTests2.expect
Fixed automake related problems.
[splint.git] / test / moreBufferTests2.expect
index bf43e05161d53df8e6ee9f61dc4c1fb5a263b81f..78bc399897e0ac957d538aa6e283893ff2da131c 100644 (file)
@@ -1,9 +1,21 @@
 
 unknownsize.c: (in function uknSize1)
 unknownsize.c:9:3: Possible out-of-bounds store:
+    c[9]
     Unable to resolve constraint:
     requires maxSet(c @ unknownsize.c:9:3) >= 9
      needed to satisfy precondition:
     requires maxSet(c @ unknownsize.c:9:3) >= 9
 
-Finished LCLint checking --- 1 code error found
+Finished checking --- 1 code warning, as expected
+
+fixedArrayType.c: (in function fixedArrayTouch)
+fixedArrayType.c:9:3: Possible out-of-bounds store:
+    buffer[sizeof(Array) - 1]
+    Unable to resolve constraint:
+    requires sizeof(Array) @ fixedArrayType.c:9:23 <= 10
+     needed to satisfy precondition:
+    requires maxSet(buffer @ fixedArrayType.c:9:3) >= sizeof(Array) @
+    fixedArrayType.c:9:23 - 1
+
+Finished checking --- 1 code warning, as expected
This page took 0.030993 seconds and 4 git commands to generate.