[Bug 275597] Samba: smbd sometimes aborts by PANIC when 'vfs objects = cap'
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 23 Dec 2023 21:14:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275597
Mark Millard <marklmi26-fbsd@yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |marklmi26-fbsd@yahoo.com
--- Comment #5 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Kirk McKusick from comment #4)
I'm confused. Comment #2 includes a patch that has not been
made to the port:
QUOTE
|#define Q_HACK_U 1
|#if Q_HACK_U
| newdirent->d_pad1 = result->d_pad1 ;
| newdirent->d_namlen = result->d_namlen ;
| newdirent->d_pad0 = result->d_pad0 ;
| newdirent->d_type = result->d_type ;
| newdirent->d_reclen = result->d_reclen ;
| newdirent->d_off = result->d_off ;
| newdirent->d_fileno = result->d_fileno ;
|#else /* Q_HACK_U */
**115 | memcpy(newdirent, result, sizeof(struct dirent));
|#endif /* Q_HACK_U */
END QUOTE
While a more directly useful variant of the patch would be
appropriate as an attachment, this submittal is reporting
a bug and an example source code fix/workaround. It seems
early to close this bug report.
--
You are receiving this mail because:
You are the assignee for the bug.