False positive: memset(foo 0, sizeof(foo))
Open
bug
- Dominant language
- JavaScript
- Stars
- 22
- Forks
- 8
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 40
Description
```
memset(foo, 0, sizeof(foo));
```
will always be fine since it's explicitly checking the destination size.
Reference:
https://github.com/brave/brave-core/pull/20895/files#r1387189235
https://github.com/brave/brave-core/pull/20895/files#r1387189237
# Proposed Solution
- [ ] Remove the rule
- [ ] Fork and improve the rule
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.