s3: VFS: default. Change sys_pread() -> sys_pread_full() in SMB_VFS_PREAD() to protec...
authorJeremy Allison <jra@samba.org>
Thu, 7 May 2020 19:43:34 +0000 (12:43 -0700)
committerJeremy Allison <jra@samba.org>
Tue, 12 May 2020 19:53:44 +0000 (19:53 +0000)
commit7daa79908b6a0362db30276b3b6f0db176b6ae3c
treea1f95d5df506266eadeb9957824b0bf94b2293d4
parent20ee8b03bbe5bef4ea968170808e3c4c9d22318e
s3: VFS: default. Change sys_pread() -> sys_pread_full() in SMB_VFS_PREAD() to protect against short reads.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14361

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/modules/vfs_default.c