search for: talloc_realloc

Displaying 10 results from an estimated 10 matches for "talloc_realloc".

2002 Jul 02
2
Printing eats my CPU
...1\0\0\0\224\0\0\0\1\0\4\200\24\0\0\0\0\0\0\0"..., 160, 5213) = 160 fcntl(16, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=452, len=1}) = 0 ... This takes about 90 percent of my CPU. 2nd: I find messages like this in my samba logs: (from srv_spoolss_nt.c / _spoolss_enumprinterdataex()): talloc_realloc failed to allocate more memory for data! meminfo shows a memory usage of 25 percent, swap space is not used. I use a 2.4.4 kernel with reiserfs - I remember that there was something with flocks on journaling fs - but can't find the posts. Any hints? Thanks. -- Martin Zielinski m.zielinski...
2017 Aug 07
4
FreeBSD samba server returns nt_status_acces_denied when DosStream xattr larger than 64KB
> > If you feel like it, you could write a VFS module that adds better support > for > this on FreeBSD, but what is the use case? > I've noticed in online forums that occasionally home NAS users will for various reasons have streams_xattr enabled and receive 'access denied' errors when trying to write files with large alternate datastreams. These are typically on media
2002 Jun 12
2
Error Joining NT DOMAIN
I'm trying to use the documentation found with Samba-2.2.4 to set up a samba server under RH linux 7.2 (kernel 2.4.9-21) to join an existing NT domain for a couple of weeks with no success. I obtained the samba 2.2.4 source code, compiled with the following options to configure: --with-winbind --prefix=/usr/local/samba --with-smbwrapper --with-pam --with -pam_smbpass After compiling, I
2014 Jan 09
0
ANNOUNCE: cifs-utils release 6.3 ready for download
...f the error messages in del_mtab. Signed-off-by: Jeff Layton <jlayton at samba.org> commit 3aa83995d7c0ef632fe0af3d032e48691a5ce781 Author: Jeff Layton <jlayton at samba.org> Date: Sun Oct 13 21:07:28 2013 -0400 asn1: fix use-after-free in asn1_write If the talloc_realloc() fails, asn1_write calls talloc_free on the context and then immediately dereferences the pointer. Fix this by skipping the talloc_free here. Let the caller handle it. Signed-off-by: Jeff Layton <jlayton at samba.org> commit 2152ccc3d61e5248c70360020a0aa279a24f852c Aut...
2019 Sep 17
0
[Announce] Samba 4.11.0 Available for Download
...at samba.org> * BUG 14055: Add the target server name of SMB 3.1.1 connections as a hint to load balancers or servers with "multi-tenancy" support. * BUG 14113: Fix byte range locking bugs/regressions. o Swen Schillig <swen at linux.ibm.com> * ldb: Fix mem-leak if talloc_realloc fails. o Evgeny Sinelnikov <sin at altlinux.org> * BUG 14007: Fix join with don't exists machine account. o Martin Schwenke <martin at meltin.net> * BUG 14085: ctdb-recoverd: Only check for LMASTER nodes in the VNN map. CHANGES SINCE 4.11.0rc2 ======================= o...
2019 Sep 17
0
[Announce] Samba 4.11.0 Available for Download
...at samba.org> * BUG 14055: Add the target server name of SMB 3.1.1 connections as a hint to load balancers or servers with "multi-tenancy" support. * BUG 14113: Fix byte range locking bugs/regressions. o Swen Schillig <swen at linux.ibm.com> * ldb: Fix mem-leak if talloc_realloc fails. o Evgeny Sinelnikov <sin at altlinux.org> * BUG 14007: Fix join with don't exists machine account. o Martin Schwenke <martin at meltin.net> * BUG 14085: ctdb-recoverd: Only check for LMASTER nodes in the VNN map. CHANGES SINCE 4.11.0rc2 ======================= o...
2019 Sep 11
1
[Announce] Samba 4.11.0rc4 Available for Download
...at samba.org> * BUG 14055: Add the target server name of SMB 3.1.1 connections as a hint to load balancers or servers with "multi-tenancy" support. * BUG 14113: Fix byte range locking bugs/regressions. o Swen Schillig <swen at linux.ibm.com> * ldb: Fix mem-leak if talloc_realloc fails. o Evgeny Sinelnikov <sin at altlinux.org> * BUG 14007: Fix join with don't exists machine account. o Martin Schwenke <martin at meltin.net> * BUG 14085: ctdb-recoverd: Only check for LMASTER nodes in the VNN map. CHANGES SINCE 4.11.0rc2 ======================= o...
2019 Sep 11
1
[Announce] Samba 4.11.0rc4 Available for Download
...at samba.org> * BUG 14055: Add the target server name of SMB 3.1.1 connections as a hint to load balancers or servers with "multi-tenancy" support. * BUG 14113: Fix byte range locking bugs/regressions. o Swen Schillig <swen at linux.ibm.com> * ldb: Fix mem-leak if talloc_realloc fails. o Evgeny Sinelnikov <sin at altlinux.org> * BUG 14007: Fix join with don't exists machine account. o Martin Schwenke <martin at meltin.net> * BUG 14085: ctdb-recoverd: Only check for LMASTER nodes in the VNN map. CHANGES SINCE 4.11.0rc2 ======================= o...
2004 Oct 21
0
compile errors samba 3.0.7 vfs
...dow_copy.po(.text+0x586): undefined reference to `DEBUGLEVEL_CLASS_ISSET' modules/vfs_shadow_copy.po(.text+0x5ad): undefined reference to `dbghdr' modules/vfs_shadow_copy.po(.text+0x5c4): undefined reference to `dbgtext' modules/vfs_shadow_copy.po(.text+0x5f6): undefined reference to `talloc_realloc' modules/vfs_shadow_copy.po(.text+0x605): undefined reference to `DEBUGLEVEL_CLASS' modules/vfs_shadow_copy.po(.text+0x619): undefined reference to `DEBUGLEVEL_CLASS_ISSET' modules/vfs_shadow_copy.po(.text+0x640): undefined reference to `dbghdr' modules/vfs_shadow_copy.po(.text+0x...
2005 Aug 04
0
[PATCH 6/11] Xenstore watch rework
...signed int *num) -{ - struct watch *i; - struct watch **ret = NULL; - - *num = 0; - - /* We include children too if this is an rm. */ - list_for_each_entry(i, &watches, list) { - if (is_child(node, i->node) || - (recurse && is_child(i->node, node))) { - (*num)++; - ret = talloc_realloc(node, ret, struct watch *, *num); - ret[*num - 1] = i; - } - } - return ret; + event = talloc(watch, struct watch_event); + event->len = strlen(node) + 1 + strlen(watch->token) + 1; + event->data = talloc_array(event, char, event->len); + strcpy(event->data, node); + strcpy(event-...