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)
committerKarolin Seeger <kseeger@samba.org>
Thu, 14 May 2020 07:25:45 +0000 (07:25 +0000)
commitaff82c00a056c1cf4b6f9fe59807d579e6fac679
treee5877cecb0bf046c962d8cd75edb5fe68326e27c
parentb60d60bd5052e2aac1c87eaf94b3b62c37323762
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>
(cherry picked from commit 7daa79908b6a0362db30276b3b6f0db176b6ae3c)
source3/modules/vfs_default.c