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)
Jan 31 2024, 7:01 AM
Unknown Object (File)
Jan 31 2024, 7:01 AM
Unknown Object (File)
Jan 31 2024, 7:01 AM
Unknown Object (File)
Jan 29 2024, 10:54 PM
Unknown Object (File)
Jan 7 2024, 9:42 PM
Unknown Object (File)
Dec 20 2023, 7:30 AM
Unknown Object (File)
Dec 12 2023, 1:50 AM
Unknown Object (File)
Nov 27 2023, 2:51 PM
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