diff options
author | J. Bruce Fields <bfields@redhat.com> | 2014-06-20 19:49:49 +0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-07-09 01:14:23 +0400 |
commit | 0aeae33f5d5fbd4af775e7c84795db9254d4a165 (patch) | |
tree | d1d043a76f3cdf14d8a49af70f5c05806bff79a3 /usr | |
parent | b829e9197ad3d8b86dbd5dc1d9bbc5508d214cec (diff) | |
download | linux-0aeae33f5d5fbd4af775e7c84795db9254d4a165.tar.xz |
nfsd: make NFSv2 null terminate symlink data
It's simple enough for NFSv2 to null-terminate the symlink data.
A bit weird (it depends on knowing that we've already read the following
byte, which is either padding or part of the mode), but no worse than
the conditional kstrdup it otherwise relies on in nfsd_symlink().
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions