OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_2-141-g22f87bc
Gerrit Code Review
gerrit@openafs.org
Fri, 14 Feb 2025 11:15:33 -0500
The following commit has been merged in the master branch:
commit 22f87bcb04d9127f8c8c11ebb3b8cd96028c3d4a
Author: Andrew Deason <adeason@sinenomine.net>
Date: Wed Jun 19 16:33:56 2024 -0500
xdr: Set 0 _len with NULL _val
When passing a struct to an RPC with an OUT opaque or array arg, a few
callers give a NULL _val (to indicate that xdr should allocate the
memory for us), but leave _len uninitialized. This is okay, because xdr
ignores the _len when _val is NULL, but set _len to 0 in these cases
just in case, and to be more consistent with other callers.
Change-Id: I33d541fbdaaf7f8c6cd724ddd7140c0ebd1fa1ae
Reviewed-on: https://gerrit.openafs.org/16240
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Reviewed-by: Marcio Brito Barbosa <mbarbosa@sinenomine.net>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/libadmin/pts/afs_ptsAdmin.c | 1 +
src/viced/host.c | 1 +
2 files changed, 2 insertions(+)
--
OpenAFS Master Repository