Displaying 2 results from an estimated 2 matches for "bandsize".
2020 Feb 24
1
vfs fruit disk_free fails on tmsize overflow with macOS Time Machine
...re. After compiling, my tests on Raspbian show that this does indeed fix the issue for me.
The diff for the patch is
--- source3/modules/vfs_fruit.c 2019-10-24 15:15:00.000000000 +0000
+++ source3/modules/vfs_fruit.c 2020-02-18 19:54:00.000000000 +0000
@@ -6971,18 +6971,7 @@
return true;
}
- if (bandsize > SIZE_MAX/nbands) {
- DBG_ERR("tmsize overflow: bandsize [%zu] nbands [%zu]\n",
- bandsize, nbands);
- return false;
- }
- tm_size = bandsize * nbands;
-
- if (state->total_size + tm_size < state->total_size) {
- DBG_ERR("tmsize overflow: bandsize [%zu] nbands [%zu]\n&qu...
2020 Feb 18
0
vfs fruit disk_free fails on tmsize overflow with macOS Time Machine
...ompleted because the original item for ?TimeMachineBackup? can?t be found` and using the command line gives `mount_smbfs: mount error: /backup: Permission denied`. smbd logs the following errors:
../source3/modules/vfs_fruit.c:6995(fruit_tmsize_do_dirent)
fruit_tmsize_do_dirent: tmsize overflow: bandsize [8388608] nbands [32547]
../source3/smbd/dfree.c:125(sys_disk_free)
sys_disk_free: VFS disk_free failed. Error was : Invalid or incomplete multibyte or wide character
FYI: That second line refers to the myriad files that the Time Machine backup creates inside the '.sparsebundle' subfolde...