vfs_fruit: Fix CID 1311244 Out-of-bounds read
authorVolker Lendecke <vl@samba.org>
Tue, 7 Jul 2015 07:04:22 +0000 (09:04 +0200)
committerRalph Böhme <slow@samba.org>
Tue, 7 Jul 2015 12:04:39 +0000 (14:04 +0200)
commit8fec35994c8b880c681f14291194763759e1c24d
tree146f90ef8015e754428c127f5ccb4d7cdbb6a07d
parentbba177100c4286f521d60e208a6f048ac33a722f
vfs_fruit: Fix CID 1311244 Out-of-bounds read

We should not call memcpy if the offset is exactly AFP_INFO_SIZE

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Tue Jul  7 14:04:39 CEST 2015 on sn-devel-104
source3/modules/vfs_fruit.c