FreeBSD Bugzilla – Attachment 213342 Details for
Bug 238958
net/samba410: smbd exits on signal 8 when used as Time machine target
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
vfs_fruit does not check if there are no bands and divides by zero if the directory is empty
patch-source3_modules_vfs__fruit.c (text/plain), 438 bytes, created by
Felix J. Ogris
on 2020-04-12 19:36:23 UTC
(
hide
)
Description:
vfs_fruit does not check if there are no bands and divides by zero if the directory is empty
Filename:
MIME Type:
Creator:
Felix J. Ogris
Created:
2020-04-12 19:36:23 UTC
Size:
438 bytes
patch
obsolete
>diff -dru source3/modules/vfs_fruit.c source3/modules/vfs_fruit.c >--- source3/modules/vfs_fruit.c 2019-12-16 15:59:07.000000000 +0100 >+++ source3/modules/vfs_fruit.c 2019-12-22 08:58:33.078994412 +0100 >@@ -6971,7 +6971,7 @@ > return true; > } > >- if (bandsize > SIZE_MAX/nbands) { >+ if ((nbands != 0) && (bandsize > SIZE_MAX/nbands)) { > DBG_ERR("tmsize overflow: bandsize [%zu] nbands [%zu]\n", > bandsize, nbands); > return false;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 238958
: 213342