Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
3
-
14067
Description
Found 1 new static analysis issues in 2.5.59-27-g75752e9:
- Buffer Overflow - Array Index Out of Bounds
- lustre/utils/mount_lustre.c: in parse_ldd, Array 'ldd_svname' of size 64 may use index value(s) -8..-1. Also there are 3 similar errors on line(s) 424, 426, 427.
Details:
mount_lustre.c:422: rc = strlen(ldd->ldd_svname) mount_lustre.c:422: Possible value(s) of 'strlen(ldd->ldd_svname)' is '[0,63]' mount_lustre.c:423: rc-8 mount_lustre.c:423: Inferred value 'rc' is '[0,63]' mount_lustre.c:423: Result of expression 'rc - 8' is '[-8,55]' mount_lustre.c:423: Array 'ldd_svname' size is 64. mount_lustre.c:423: Possible attempt to access element -8..-1 of array 'ldd_svname'.
The list of commits since the previous build 2.5.59-0-g28f2ff9:
75752e9 | |
ea766f3 | |
cae32fb | |
7936ec2 | |
a731963 | Revert " |
29bd1e0 | |
0d8c5cc | |
b48b921 | |
3e8c354 | |
cbade14 | |
d6f2634 | |
482b5e7 | |
c2c28f2 | |
64b1cfc | |
6a2a173 | |
8dfee22 | |
c0a8fa3 | |
8fd6a08 | |
5303c13 | |
85b037f | |
90636ff | |
8d3c731 | |
1b6d4ae | |
864fc9d | |
c6a034b | |
be1374e | |
241cdb8 |
Attachments
Issue Links
- is related to
-
LU-4629 Issues found by static analysis tools
- Resolved