diff options
| author | 2020-02-02 17:53:55 -0500 | |
|---|---|---|
| committer | 2020-02-03 16:37:45 -0500 | |
| commit | 3803d6721baff3d5dd6cd6b8c7294e54d124bc41 (patch) | |
| tree | d2731a13dcbdc7e284c8838d7b99893ecf10dc6c /drivers/net/netdevsim/git:/ssh:/git@git.zx2c4.com | |
| parent | NFS: Directory page cache pages need to be locked when read (diff) | |
| download | linux-dev-3803d6721baff3d5dd6cd6b8c7294e54d124bc41.tar.xz linux-dev-3803d6721baff3d5dd6cd6b8c7294e54d124bc41.zip | |
NFS: Use kmemdup_nul() in nfs_readdir_make_qstr()
The directory strings stored in the readdir cache may be used with
printk(), so it is better to ensure they are nul-terminated.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Reviewed-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'drivers/net/netdevsim/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
