The Samba-Bugzilla – Attachment 16905 Details for
Bug 14890
Crash in vfs_fruit asking for fsp_get_io_fd() for an XATTR call.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
raw patch for master / 4.15.next
look (text/plain), 696 bytes, created by
Jeremy Allison
on 2021-11-02 01:55:21 UTC
(
hide
)
Description:
raw patch for master / 4.15.next
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2021-11-02 01:55:21 UTC
Size:
696 bytes
patch
obsolete
>diff --git a/source3/lib/adouble.c b/source3/lib/adouble.c >index fd435b6592d..854c239963b 100644 >--- a/source3/lib/adouble.c >+++ b/source3/lib/adouble.c >@@ -2592,8 +2592,7 @@ int ad_fset(struct vfs_handle_struct *handle, > DBG_DEBUG("Path [%s]\n", fsp_str_dbg(fsp)); > > if ((fsp == NULL) >- || (fsp->fh == NULL) >- || (fsp_get_io_fd(fsp) == -1)) >+ || (fsp->fh == NULL)) > { > smb_panic("bad fsp"); > } >@@ -2612,6 +2611,9 @@ int ad_fset(struct vfs_handle_struct *handle, > AD_DATASZ_XATTR, 0); > break; > case ADOUBLE_RSRC: >+ if (fsp_get_io_fd(fsp) == -1) { >+ smb_panic("bad fsp for ADOUBLE_RSRC"); >+ } > len = SMB_VFS_NEXT_PWRITE(handle, > fsp, > ad->ad_data,
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 Raw
Actions:
View
Attachments on
bug 14890
:
16905
|
16942