s3: VFS: default. Change sys_pwrite() -> sys_pwrite_full() in SMB_VFS_PWRITE() to...
authorJeremy Allison <jra@samba.org>
Thu, 7 May 2020 19:44:26 +0000 (12:44 -0700)
committerKarolin Seeger <kseeger@samba.org>
Thu, 14 May 2020 07:25:45 +0000 (07:25 +0000)
commit838a52fa25ebf7e399e086eed6be4b5c0f3db743
tree05e434c6dcc13995a931d5531dd228ee1569b157
parentaff82c00a056c1cf4b6f9fe59807d579e6fac679
s3: VFS: default. Change sys_pwrite() -> sys_pwrite_full() in SMB_VFS_PWRITE() to protect against short writes.

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 ca8c3619f657dc38db7cb248f1a657f5bfe20757)
source3/modules/vfs_default.c