mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 15:00:12 +00:00
afs: Use correct output buffer for FSCmd pioctl
MRAFS added the FsCmd pioctl for passing messages to the fileserver; a bug causes it to write into the wrong memory and potentially panic clients. FIXES 131896 (CVE-2015-3285) Change-Id: Ic3a81fe06edc886f24bbc0537ea53e994b086c9e
This commit is contained in:
parent
592a99d6e6
commit
ef671f497e
@ -5065,8 +5065,7 @@ DECL_PIOCTL(PFsCmd)
|
||||
if (tc) {
|
||||
RX_AFS_GUNLOCK();
|
||||
code =
|
||||
RXAFS_FsCmd(rxconn, Fid, Inputs,
|
||||
(struct FsCmdOutputs *)aout);
|
||||
RXAFS_FsCmd(rxconn, Fid, Inputs, Outputs);
|
||||
RX_AFS_GLOCK();
|
||||
} else
|
||||
code = -1;
|
||||
|
Loading…
Reference in New Issue
Block a user