- Move bzero() inside the while loop
- Add malloc() u_int overflow check
- Fix use-after-free by moving xdr_free() to cleanup block
- Fix warnings in xdr_free() by casting function pointers to (void *)
- Add missing headers and forward declarations
Details
Details
- Reviewers
- None
- Group Reviewers
Src Committers Contributor Reviews (src)
Compiled with -Weverything -Wno-unsafe-buffer-usage -Wno-sign-conversion
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 72588 Build 69471: arc lint + arc unit