]> andersk Git - splint.git/blobdiff - test/moreBufferTests2.expect
Fixes for win32
[splint.git] / test / moreBufferTests2.expect
index c7d4db06b818a873b76b179b8f6f89bcb8332d30..1119c82593e60030a410ac2191d94fdc3e98f4c6 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 checking --- 1 code warning 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:25 <= 10
+     needed to satisfy precondition:
+    requires maxSet(buffer @ fixedArrayType.c:9:3) >= sizeof(Array) @
+    fixedArrayType.c:9:25 - 1
+
+Finished checking --- 1 code warning, as expected
This page took 0.031955 seconds and 4 git commands to generate.