search for: talloc_free

Displaying 20 results from an estimated 99 matches for "talloc_free".

2016 Aug 26
2
Issue with acl_xattr:ignore system acls in 4.5rc2
...ents: 688 DEBUG(10, ("get_nt_acl_internal: ACL blob revision " 689 "mismatch (%u) for file %s\n", 690 (unsigned int)hash_type, 691 smb_fname->base_name)); 692 TALLOC_FREE(psd_blob); 693 return NT_STATUS_OK; 694 } 695 696 /* determine which type of xattr we got */ 697 if (hash_type != XATTR_SD_HASH_TYPE_SHA256) { 698 DEBUG(10, ("get_nt_acl_internal: ACL blob hash type " 699...
2016 Aug 26
2
Issue with acl_xattr:ignore system acls in 4.5rc2
On Fri, Aug 26, 2016 at 06:33:26PM +0200, Ralph Böhme via samba wrote: > On Thu, Aug 25, 2016 at 12:14:00PM -0700, Jeremy Allison wrote: > > On Wed, Aug 24, 2016 at 04:06:42PM +0200, Ralph Böhme via samba wrote: > > > > > > Yeah, as much as I'd like to avoid adding a new option, I guess we > > > have to do something about it, my latest take on this is >
2016 Aug 29
1
Issue with acl_xattr:ignore system acls in 4.5rc2
.../* determine which type of xattr we got */ > switch (xattr_version) { > @@ -550,8 +550,8 @@ static NTSTATUS get_nt_acl_internal(vfs_handle_struct *handle, > "mismatch (%u) for file %s\n", > (unsigned int)hash_type, > smb_fname->base_name)); > - TALLOC_FREE(psd); > - psd = NULL; > + TALLOC_FREE(psd_blob); > + psd_blob = NULL; > goto out; > } > > @@ -561,8 +561,8 @@ static NTSTATUS get_nt_acl_internal(vfs_handle_struct *handle, > "(%u) unexpected for file %s\n", > (unsigned int)hash_type, &gt...
2016 Aug 27
2
Issue with acl_xattr:ignore system acls in 4.5rc2
On Fri, Aug 26, 2016 at 04:03:49PM -0700, Jeremy Allison wrote: > On Fri, Aug 26, 2016 at 02:46:19PM -0700, Jeremy Allison via samba wrote: > > On Fri, Aug 26, 2016 at 06:44:05PM +0200, Ralph Böhme wrote: > > > > > > Cheerio! > > > -slow > > > > Still reviewing this - but a few things that will need changing: > > > > When adding the
2012 Jul 02
1
[Announce] Samba 3.5.16 Available for Download
...==================================================== Release Announcements ===================== This is the latest stable release of Samba 3.5. Major enhancements in Samba 3.5.16 include: o Fix possible memory leaks in the Samba master process (bug #8970). o Fix uninitialized memory read in talloc_free(). o Fix smbd crash with unknown user (bug #8314). Changes since 3.5.15: --------------------- o Jeremy Allison <jra at samba.org> * BUG 8314: Fix smbd crash with unknown user. * BUG 8831: Fix inconsistent (with manpage) command-line switch for "help" in smbtree....
2012 Jul 02
1
[Announce] Samba 3.5.16 Available for Download
...==================================================== Release Announcements ===================== This is the latest stable release of Samba 3.5. Major enhancements in Samba 3.5.16 include: o Fix possible memory leaks in the Samba master process (bug #8970). o Fix uninitialized memory read in talloc_free(). o Fix smbd crash with unknown user (bug #8314). Changes since 3.5.15: --------------------- o Jeremy Allison <jra at samba.org> * BUG 8314: Fix smbd crash with unknown user. * BUG 8831: Fix inconsistent (with manpage) command-line switch for "help" in smbtree....
2009 Jan 29
1
Problem compiling 3.3.0?
On RH 5.2, and I've previously compiled and installed 3.0.28a on this box. configure ran clean, but make fails with:- Compiling smbd/server.c Linking bin/smbd smbd/server.o: In function `housekeeping_fn': server.c:(.text+0x21e): undefined reference to `attempt_machine_password_change' collect2: ld returned 1 exit status make: *** [bin/smbd] Error 1 Anyone else encountered this?
2024 Jun 10
2
4.20: case (in)sensitive is broken
...static int widelinks_openat(vfs_handle_struct *handle, } lstat_ret = SMB_VFS_NEXT_LSTAT(handle, full_fname); - if (lstat_ret != -1 && - VALID_STAT(full_fname->st) && + if (lstat_ret == -1) { + /* Can't be a DFS link. */ + int saved_errno = errno; + TALLOC_FREE(full_fname); + errno = saved_errno; + return -1; + } + if (VALID_STAT(full_fname->st) && S_ISLNK(full_fname->st.st_ex_mode)) { fsp->fsp_name->st = full_fname->st; }
2024 Jun 11
1
4.20: case (in)sensitive is broken
...STAT(handle, > ???????????????? full_fname); > -??????? if (lstat_ret != -1 && > -??????????? VALID_STAT(full_fname->st) && > +??????? if (lstat_ret == -1) { > +??????????? /* Can't be a DFS link. */ > +??????????? int saved_errno = errno; > +??????????? TALLOC_FREE(full_fname); > +??????????? errno = saved_errno; Can TALLOC_FREE change errno? > +??????????? return -1; > +??????? } > +??????? if (VALID_STAT(full_fname->st) && > ???????????? S_ISLNK(full_fname->st.st_ex_mode)) { > ???????????? fsp->fsp_name->st = full_f...
2017 Nov 16
2
Curious: Schema refresh needed 1 != 2
On 16 November 2017 at 10:29, Rowland Penny <rpenny at samba.org> wrote: > On Thu, 16 Nov 2017 08:40:01 +0200 > Ian Coetzee via samba <samba at lists.samba.org> wrote: > >> Hi Rowland, >> >> > How did you upgrade ? >> >> I upgraded by merging the latest code from the samba git repo, doing a >> git clean to remove old local files. Then
2006 Jul 28
3
expand_file segfault compatibility with VPS and reiserfs
...smb_panic(1592) PANIC (pid 10004): Could not store share mode entry [2006/07/27 20:31:37, 0] lib/util.c:log_stack_trace(1699) BACKTRACE: 13 stack frames: #0 smbd(log_stack_trace+0x22) [0x8229612] #1 smbd(smb_panic+0x60) [0x82294d0] #2 smbd(get_share_mode_lock+0) [0x81dab90] #3 smbd(talloc_free+0x7d) [0x822efbd] #4 smbd(open_directory+0x3d5) [0x80d5ce5] #5 smbd(reply_ntcreate_and_X+0xb36) [0x80a8976] #6 smbd [0x80e8154] #7 smbd [0x80e83bd] #8 smbd [0x80e85e5] #9 smbd(smbd_process+0x155) [0x80e9475] #10 smbd(main+0x8ed) [0x82bea1d] #11 /lib/libc.so.6(__libc_start_ma...
2010 Jan 25
2
Samba 3.4.5 on ubuntu 8.04 64 bit - Core dumps
...frames: #0 /opt/samba345/sbin/smbd(log_stack_trace+0x1a) [0x6bc42b] #1 /opt/samba345/sbin/smbd(smb_panic+0x55) [0x6bc52a] #2 /opt/samba345/sbin/smbd [0x6ad1ae] #3 /lib/libpthread.so.0 [0x7fa381cb77d0] #4 /etc/samba/libtalloc.so.1 [0x7fa380da9761] #5 /etc/samba/libtalloc.so.1(talloc_free+0x1cc) [0x7fa380dab92e] #6 /opt/samba345/sbin/smbd [0x6249ca] #7 /opt/samba345/sbin/smbd(api_pipe_request+0x3ac) [0x656ef5] #8 /opt/samba345/sbin/smbd [0x650b46] #9 /opt/samba345/sbin/smbd(np_write_send+0x912) [0x651a13] #10 /opt/samba345/sbin/smbd [0x4a7456] #11 /opt/samba3...
2005 Aug 04
0
[PATCH 6/11] Xenstore watch rework
..., &talloc_fail); @@ -1187,7 +1255,9 @@ */ in = talloc_steal(talloc_autofree_context(), conn->in); conn->in = new_buffer(conn); - if (process_message(conn, in)) { + process_message(conn, in); + + if (conn->state == BLOCKED) { /* Blocked by transaction: queue for re-xmit. */ talloc_free(conn->in); conn->in = in; @@ -1210,7 +1280,7 @@ int bytes; struct buffered_data *in; - assert(!conn->blocked); + assert(conn->state == OK); in = conn->in; /* Not finished header yet? */ @@ -1267,13 +1337,17 @@ struct connection *i, *tmp; list_for_each_entry_safe(...
2018 Nov 27
0
[Announce] Samba 4.9.3, 4.8.7 and 4.7.12 Security Releases Available
...nwards are vulnerable to infinite query recursion caused by CNAME loops. Any dns record can be added via ldap by an unprivileged user using the ldbadd tool, so this is a security issue. o CVE-2018-16841: When configured to accept smart-card authentication, Samba's KDC will call talloc_free() twice on the same memory if the principal in a validly signed certificate does not match the principal in the AS-REQ. This is only possible after authentication with a trusted certificate. talloc is robust against further corruption from a double-free with talloc_free() and directly...
2018 Nov 27
0
[Samba] [Announce] Samba 4.9.3, 4.8.7 and 4.7.12 Security Releases Available
...nwards are vulnerable to infinite query recursion caused by CNAME loops. Any dns record can be added via ldap by an unprivileged user using the ldbadd tool, so this is a security issue. o CVE-2018-16841: When configured to accept smart-card authentication, Samba's KDC will call talloc_free() twice on the same memory if the principal in a validly signed certificate does not match the principal in the AS-REQ. This is only possible after authentication with a trusted certificate. talloc is robust against further corruption from a double-free with talloc_free() and directly...
2015 Sep 01
1
[Announce] Samba 4.1.20 Available for Download
...dam <obnox at samba.org> * BUG 11366: docs: Overhaul the description of "smb encrypt" to include SMB3 encryption. * BUG 11372: smbd: Fix SMB3 functionality of "smb encrypt". o Jeremy Allison <jra at samba.org> * BUG 10823: s3: winbindd: Fix TALLOC_FREE of uninitialized groups variable. * BUG 11328: Use resource group sids obtained from pac logon_info. * BUG 11339: s3: smbd: Use separate flag to track become_root()/unbecome_root() state. * BUG 11342: s3: smbd: Codenomicon crash in do_smb_load_module(). * BUG 11359: lib:...
2015 Sep 01
1
[Announce] Samba 4.1.20 Available for Download
...dam <obnox at samba.org> * BUG 11366: docs: Overhaul the description of "smb encrypt" to include SMB3 encryption. * BUG 11372: smbd: Fix SMB3 functionality of "smb encrypt". o Jeremy Allison <jra at samba.org> * BUG 10823: s3: winbindd: Fix TALLOC_FREE of uninitialized groups variable. * BUG 11328: Use resource group sids obtained from pac logon_info. * BUG 11339: s3: smbd: Use separate flag to track become_root()/unbecome_root() state. * BUG 11342: s3: smbd: Codenomicon crash in do_smb_load_module(). * BUG 11359: lib:...
2012 Jun 25
0
[Announce] Samba 3.6.6 Available for Download
...================================================== Release Announcements ===================== This is is the latest stable release of Samba 3.6. Major enhancements in Samba 3.6.6 include: o Fix possible memory leaks in the Samba master process (bug #8970). o Fix uninitialized memory read in talloc_free(). o Fix joining of XP Pro workstations to 3.6 DCs (bug #8373). Changes since 3.6.5: -------------------- o Michael Adam <obnox at samba.org> * BUG 8738: SMB2 server will not release unused shares. * BUG 8749: Sign non guest sessions in SessionSetup. * BUG 8921: Fix race wri...
2011 Sep 17
1
vfs_shadow_copy2 doesn't seem to work with basedir of /
...path[baselen] != 0 && handle->conn->connectpath[baselen] != '/')) { 379 DEBUG(0,("convert_shadow2_name: basedir %s is not a parent of %s\n", 380 basedir, handle->conn->connectpath)); 381 talloc_free(tmp_ctx); 382 return NULL; 383 } I'm running Samba on Debian Squeeze: mattcen at adam:tmp$ lsb_release -idrc Distributor ID: Debian Description: Debian GNU/Linux 6.0.2 (squeeze) Release: 6.0.2 Codename: squeeze mattcen at adam:tm...
2012 Jun 25
0
[Announce] Samba 3.6.6 Available for Download
...================================================== Release Announcements ===================== This is is the latest stable release of Samba 3.6. Major enhancements in Samba 3.6.6 include: o Fix possible memory leaks in the Samba master process (bug #8970). o Fix uninitialized memory read in talloc_free(). o Fix joining of XP Pro workstations to 3.6 DCs (bug #8373). Changes since 3.6.5: -------------------- o Michael Adam <obnox at samba.org> * BUG 8738: SMB2 server will not release unused shares. * BUG 8749: Sign non guest sessions in SessionSetup. * BUG 8921: Fix race wri...