]> andersk Git - splint.git/blame_incremental - test/arraylit.expect
Fixed manual csvoverwrite.
[splint.git] / test / arraylit.expect
... / ...
CommitLineData
1
2arraylit.c: (in function main)
3arraylit.c:7:34: String literal with 6 characters is assigned to char [5] (no
4 room for null terminator): "12345"
5arraylit.c:13:3: Suspect modification of observer unmodstr[0]:
6 unmodstr[0] = 'U'
7 arraylit.c:5:24: Storage unmodstr[0] becomes observer
8
9Finished checking --- 2 code warnings, as expected
10
11arraylit.c: (in function main)
12arraylit.c:6:38: String literal with 18 characters is assigned to char [20]
13 (possible waste of storage): "modifiable string"
14arraylit.c:7:34: String literal with 6 characters is assigned to char [5] (no
15 room for null terminator): "12345"
16arraylit.c:9:34: String literal with 6 characters is assigned to char [7]
17 (possible waste of storage): "12345"
18arraylit.c:13:3: Suspect modification of observer unmodstr[0]:
19 unmodstr[0] = 'U'
20 arraylit.c:5:24: Storage unmodstr[0] becomes observer
21
22Finished checking --- 4 code warnings, as expected
This page took 0.032054 seconds and 5 git commands to generate.