UNITIALIZED_VALUE false positive
Open
false-positive
- Dominant language
- OCaml
- Stars
- 15.7k
- Forks
- 2.1k
- Avg merge
- 19h 36m
- Merged PRs (30d)
- 13
Description
Please include the following information:
- [x] The version of infer from https://github.com/facebook/infer/commit/d1de5db6c88036c5e7693b1de8ca6e81e845c08d commit
- [x] Debian docker from Infer repository
- [x] Which command you ran: `infer run -- make`.
```c
void myfun(size_t i) {
size_t j;
for (; j = i * 2+ 1, j < 10; i = j) { j++; }
return;
}
```
It prints (wrongly) this warning:
```
error: UNITIALIZED_VALUE
The value read from j was never initialized
```
Contributor guide
Assessment
This issue has not been assessed yet.