Page MenuHomeFreeBSD

libc rpc: Fix mismatches in prototypes for array bounds.
ClosedPublic

Authored by jhb on Sep 27 2022, 5:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Aug 21, 12:45 PM
Unknown Object (File)
Fri, Aug 21, 12:36 PM
Unknown Object (File)
Wed, Aug 19, 9:52 PM
Unknown Object (File)
Sat, Aug 15, 6:15 AM
Unknown Object (File)
Mon, Aug 10, 5:44 PM
Unknown Object (File)
Sun, Aug 9, 10:52 AM
Unknown Object (File)
Wed, Aug 5, 3:45 AM
Unknown Object (File)
Tue, Aug 4, 1:56 AM
Subscribers
None

Details

Summary

Various RPC functions used a bare pointer in function prototypes to
describe fixed-length buffer arguments but used a fixed-length array
in the function definition. The manual page for these functions
describes the parameters as being fixed-length buffers, so update
the prototypes to match the definitions.

Reported by: GCC -Warray-parameter

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable